﻿<!--
// (c) Copyright Microsoft Corporation.
// This source is subject to Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
-->

<ResourceDictionary
  x:Uid="ResourceDictionary_1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  mc:Ignorable="d"
  xmlns:d="http://schemas.microsoft.com/expression/blend/2008">

   
        <!-- Color Palette -->
        <SolidColorBrush x:Uid="SolidColorBrush_1" x:Key="OutsideFontColor" Color="#FF000000"/>
        <SolidColorBrush x:Uid="SolidColorBrush_2" x:Key="ButtonFontColor" Color="#FF042271"/>
        <Color x:Uid="Color_1" x:Key="Focus">#FF04CCFF</Color>
        <Color x:Uid="Color_2" x:Key="HyperlinkFocus">#FF2B54BA</Color>
        <Color x:Uid="Color_3" x:Key="Calendar">#FF0066CC</Color>
        <Color x:Uid="Color_4" x:Key="PressStroke1">#FF1D415C</Color>
        <Color x:Uid="Color_5" x:Key="PressStroke2">#FF2C628B</Color>
        <Color x:Uid="Color_6" x:Key="TabStroke">#FF4F8BB9</Color>
        <Color x:Uid="Color_7" x:Key="DataSortArrow">#3F2C628B</Color>
        <!--PressStroke2, 25%-->
        <Color x:Uid="Color_8" x:Key="DropLocate">#FF6392C8</Color>
        <Color x:Uid="Color_9" x:Key="TreeviewArrowNorm">#FF76D5FD</Color>
        <Color x:Uid="Color_10" x:Key="TreeviewArrowOver">#FFC1EFF8</Color>
        <Color x:Uid="Color_11" x:Key="TreeviewArrowCheck">#FF6380EE</Color>
        <Color x:Uid="Color_12" x:Key="ExpandArrowStroke">#FF688DC4</Color>
        <Color x:Uid="Color_13" x:Key="Arrow">#FF425080</Color>
        <Color x:Uid="Color_14" x:Key="Arrow2">#FF7682E4</Color>
        <Color x:Uid="Color_15" x:Key="TextBkgSelection">#FF309AFF</Color>
        <Color x:Uid="Color_16" x:Key="TextboxOver1">#FF5296BD</Color>
        <Color x:Uid="Color_17" x:Key="TextboxOver2">#FFC2E4F6</Color>
        <Color x:Uid="Color_18" x:Key="TextboxPress1">#FF3B79AC</Color>
        <Color x:Uid="Color_19" x:Key="TextboxPress2">#FFB2DBED</Color>
        <Color x:Uid="Color_20" x:Key="ItemOver1">#FFF4FAFD</Color>
        <Color x:Uid="Color_21" x:Key="ItemOver2">#FFCFEDFD</Color>
        <Color x:Uid="Color_22" x:Key="ItemOverStroke">#FFD8F0FA</Color>
        <Color x:Uid="Color_23" x:Key="ItemSelectStroke">#FF98DDFB</Color>
        <Color x:Uid="Color_24" x:Key="Over1">#FFE2F5FF</Color>
        <Color x:Uid="Color_25" x:Key="Over2">#FFC0E7FC</Color>
        <Color x:Uid="Color_26" x:Key="Over3">#FF9EDDFF</Color>
        <Color x:Uid="Color_27" x:Key="Press1">#FF759FB6</Color>
        <Color x:Uid="Color_28" x:Key="Press2">#FFB6E0F6</Color>
        <Color x:Uid="Color_29" x:Key="Press3">#FF9DD5F4</Color>
        <Color x:Uid="Color_30" x:Key="PressHighlight">#FF387599</Color>
        <Color x:Uid="Color_31" x:Key="ButtonHighlightMid">#0095D9FF</Color>
        <Color x:Uid="Color_32" x:Key="ButtonHighlightMid2">#9935A6E6</Color>
        <!--60%-->
        <Color x:Uid="Color_33" x:Key="ButtonHighlightMid3">#A535A6E6</Color>
        <!--65%-->
        <Color x:Uid="Color_34" x:Key="RadioIcon1">#FF90D5E5</Color>
        <Color x:Uid="Color_35" x:Key="RadioIcon2">#FF28A2D1</Color>
        <Color x:Uid="Color_36" x:Key="RadioIcon3">#FF1898D1</Color>
        <Color x:Uid="Color_37" x:Key="RadioIcon4">#FF0F83C7</Color>
        <Color x:Uid="Color_38" x:Key="RadioIconOver1">#FF1EBEFF</Color>
        <Color x:Uid="Color_39" x:Key="RadioIconOver2">#FF13A2F3</Color>
        <Color x:Uid="Color_40" x:Key="RadioIconPress1">#99759FB6</Color>
        <!--Press1, 60%-->
        <Color x:Uid="Color_41" x:Key="RadioIconPress2">#FF4B8DAF</Color>
        <Color x:Uid="Color_42" x:Key="RadioStroke">#FF275674</Color>
        <Color x:Uid="Color_43" x:Key="CheckInnerOver">#FF79C6F9</Color>
        <Color x:Uid="Color_44" x:Key="CheckInnerOver2">#FFAFDEFD</Color>
        <Color x:Uid="Color_45" x:Key="CheckInnerPress">#FF5EB6F7</Color>
        <Color x:Uid="Color_46" x:Key="CheckInnerPress2">#FF90CFFC</Color>
        <Color x:Uid="Color_47" x:Key="CheckOutterOver">#FF5989A5</Color>
        <Color x:Uid="Color_48" x:Key="CheckOutterOver2">#FFDEF9FA</Color>
        <Color x:Uid="Color_49" x:Key="ThumbPress1">#FF6CBBE5</Color>
        <Color x:Uid="Color_50" x:Key="ThumbPress2">#FF50A1CC</Color>
        <Color x:Uid="Color_51" x:Key="ExpanderOver1">#FFB1E7FE</Color>
        <Color x:Uid="Color_52" x:Key="ExpanderOver2">#FFEAFFFF</Color>
        <Color x:Uid="Color_53" x:Key="ExpanderOver3">#A56EB4F6</Color>
        <Color x:Uid="Color_54" x:Key="ExpanderMid">#009DD5F4</Color>
        <!--Press3, 0%-->
        <Color x:Uid="Color_55" x:Key="ExpanderPress1">#FF80CEFF</Color>
        <Color x:Uid="Color_56" x:Key="ExpanderPress2">#FF2D84CF</Color>
        <Color x:Uid="Color_57" x:Key="ThumbDivetOver">#E5387599</Color>
        <!--PressHighlight, 20%-->
        <Color x:Uid="Color_58" x:Key="ThumbDivetFill1">#199DD5F4</Color>
        <!--Press3, 10%-->
        <Color x:Uid="Color_59" x:Key="ThumbDivetFill2">#33387599</Color>
        <!--PressHighlight, 20%-->
        <!-- End Color Palette-->


        <!-- Communal Static Resources -->
        <SolidColorBrush x:Uid="SolidColorBrush_3" x:Key="btnFocus" Color="{StaticResource Focus}"/>
        <SolidColorBrush x:Uid="SolidColorBrush_4" x:Key="btnPressStroke1" Color="{StaticResource PressStroke1}"/>
        <SolidColorBrush x:Uid="SolidColorBrush_5" x:Key="btnPressStroke2" Color="{StaticResource PressStroke2}"/>

        <LinearGradientBrush x:Uid="LinearGradientBrush_1" x:Key="btnPressBorder" EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop x:Uid="GradientStop_1" Color="{StaticResource PressStroke1}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_2" Color="{StaticResource PressStroke2}" Offset="1"/>
        </LinearGradientBrush>

        <SolidColorBrush x:Uid="SolidColorBrush_6" x:Key="hyperlinkPress" Color="{StaticResource HyperlinkFocus}"/>
        <SolidColorBrush x:Uid="SolidColorBrush_7" x:Key="calendarBtnFill" Color="{StaticResource Over2}"/>
        <SolidColorBrush x:Uid="SolidColorBrush_8" x:Key="calendarTodayStroke" Color="{StaticResource Calendar}"/>
        <SolidColorBrush x:Uid="SolidColorBrush_9" x:Key="treeviewArrowUnchecked" Color="{StaticResource TreeviewArrowNorm}"/>
        <SolidColorBrush x:Uid="SolidColorBrush_10" x:Key="treeviewArrowHover" Color="{StaticResource TreeviewArrowOver}"/>
        <SolidColorBrush x:Uid="SolidColorBrush_11" x:Key="treeviewArrowChecked" Color="{StaticResource TreeviewArrowCheck}"/>

        <SolidColorBrush x:Uid="SolidColorBrush_12" x:Key="TextBackgroundSelection" Color="{StaticResource TextBkgSelection}"/>
        <SolidColorBrush x:Uid="SolidColorBrush_13" x:Key="TextBoxOverBrush" Color="{StaticResource TextboxOver1}"/>
        <SolidColorBrush x:Uid="SolidColorBrush_14" x:Key="TextBoxPressBrush" Color="{StaticResource TextboxPress1}"/>

        <LinearGradientBrush x:Uid="LinearGradientBrush_2" x:Key="TextBoxOver" EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop x:Uid="GradientStop_3" Color="{StaticResource TextboxOver1}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_4" Color="{StaticResource TextboxOver2}" Offset="0.355"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_3" x:Key="TextBoxFocus" EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop x:Uid="GradientStop_5" Color="{StaticResource TextboxPress1}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_6" Color="{StaticResource TextboxPress2}" Offset="0.355"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_4" x:Key="TextBoxNorm" EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop x:Uid="GradientStop_7" Color="#FFABAEB3" Offset="0"/>
            <GradientStop x:Uid="GradientStop_8" Color="#FFE2E8EE" Offset="0.355"/>
        </LinearGradientBrush>

        <LinearGradientBrush x:Uid="LinearGradientBrush_5" x:Key="grayGradient" EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop x:Uid="GradientStop_9" Color="#FFFFFFFF" Offset="0"/>
            <GradientStop x:Uid="GradientStop_10" Color="#FFEDEDED" Offset="0.171"/>
            <GradientStop x:Uid="GradientStop_11" Color="#FFE7E7E7" Offset="0.5"/>
            <GradientStop x:Uid="GradientStop_12" Color="#FFDCDCDC" Offset="0.51"/>
            <GradientStop x:Uid="GradientStop_13" Color="#FFEAEBEC" Offset="1"/>
        </LinearGradientBrush>

        <SolidColorBrush x:Uid="SolidColorBrush_15" x:Key="hoverStroke" Color="{StaticResource ItemOverStroke}"/>
        <SolidColorBrush x:Uid="SolidColorBrush_16" x:Key="selectedStroke" Color="{StaticResource ItemSelectStroke}"/>

        <LinearGradientBrush x:Uid="LinearGradientBrush_6" x:Key="hoverGradient" EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop x:Uid="GradientStop_14" Color="{StaticResource ItemOver1}" Offset="0.5"/>
            <GradientStop x:Uid="GradientStop_15" Color="{StaticResource Over1}" Offset="0.5"/>
            <GradientStop x:Uid="GradientStop_16" Color="{StaticResource ItemOver2}" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_7" x:Key="hoverGradientVertical" EndPoint="1,0.5" StartPoint="0,0.5">
            <GradientStop x:Uid="GradientStop_17" Color="{StaticResource ItemOver1}" Offset="0.5"/>
            <GradientStop x:Uid="GradientStop_18" Color="{StaticResource Over1}" Offset="0.5"/>
            <GradientStop x:Uid="GradientStop_19" Color="{StaticResource ItemOver2}" Offset="1"/>
        </LinearGradientBrush>

        <LinearGradientBrush x:Uid="LinearGradientBrush_8" x:Key="BtnOverFill" EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop x:Uid="GradientStop_20" Color="{StaticResource Over1}" Offset="0.5"/>
            <GradientStop x:Uid="GradientStop_21" Color="{StaticResource Over2}" Offset="0.509"/>
            <GradientStop x:Uid="GradientStop_22" Color="{StaticResource Over3}" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_9" x:Key="BtnPressFill" EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop x:Uid="GradientStop_23" Color="{StaticResource Press1}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_24" Color="{StaticResource Press2}" Offset="0.152"/>
            <GradientStop x:Uid="GradientStop_25" Color="{StaticResource Over2}" Offset="0.5"/>
            <GradientStop x:Uid="GradientStop_26" Color="{StaticResource Press3}" Offset="0.509"/>
        </LinearGradientBrush>

        <!-- standard button specific resources -->
        <LinearGradientBrush x:Uid="LinearGradientBrush_10" x:Key="btnOverFillHighlight" EndPoint="1,0.5" StartPoint="0,0.5">
            <GradientStop x:Uid="GradientStop_27" Color="{StaticResource ButtonHighlightMid2}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_28" Color="{StaticResource ButtonHighlightMid}" Offset="0.101"/>
            <GradientStop x:Uid="GradientStop_29" Color="{StaticResource ButtonHighlightMid}" Offset="0.899"/>
            <GradientStop x:Uid="GradientStop_30" Color="{StaticResource ButtonHighlightMid2}" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_11" x:Key="btnPressFillHighlight" EndPoint="1,0.5" StartPoint="0,0.5">
            <GradientStop x:Uid="GradientStop_31" Color="{StaticResource PressHighlight}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_32" Color="{StaticResource ButtonHighlightMid3}" Offset="0.037"/>
            <GradientStop x:Uid="GradientStop_33" Color="{StaticResource ButtonHighlightMid}" Offset="0.143"/>
            <GradientStop x:Uid="GradientStop_34" Color="{StaticResource ButtonHighlightMid}" Offset="0.857"/>
            <GradientStop x:Uid="GradientStop_35" Color="{StaticResource ButtonHighlightMid3}" Offset="0.963"/>
            <GradientStop x:Uid="GradientStop_36" Color="{StaticResource PressHighlight}" Offset="1"/>
        </LinearGradientBrush>

        <!-- Radio/Checkbox specific resources -->
        <SolidColorBrush x:Uid="SolidColorBrush_17" x:Key="checkOverStroke" Color="{StaticResource CheckOutterOver}"/>
        <SolidColorBrush x:Uid="SolidColorBrush_18" x:Key="checkOverFill" Color="{StaticResource CheckOutterOver2}"/>
        <SolidColorBrush x:Uid="SolidColorBrush_19" x:Key="checkPressFill" Color="{StaticResource TextboxOver2}"/>
        <SolidColorBrush x:Uid="SolidColorBrush_20" x:Key="checkInnerOverFill" Color="{StaticResource CheckInnerOver2}"/>
        <SolidColorBrush x:Uid="SolidColorBrush_21" x:Key="checkInnerPressFill" Color="{StaticResource CheckInnerPress2}"/>
        <SolidColorBrush x:Uid="SolidColorBrush_22" x:Key="checkIconStroke" Color="{StaticResource Arrow}"/>
        <SolidColorBrush x:Uid="SolidColorBrush_23" x:Key="radioIconStroke" Color="{StaticResource RadioStroke}"/>

        <LinearGradientBrush x:Uid="LinearGradientBrush_12" x:Key="radioIconFill" EndPoint="0.8,0.8" StartPoint="0.3,0.3">
            <GradientStop x:Uid="GradientStop_37" Color="{StaticResource RadioIcon1}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_38" Color="{StaticResource RadioIcon2}" Offset="0.179"/>
            <GradientStop x:Uid="GradientStop_39" Color="{StaticResource RadioIcon3}" Offset="0.496"/>
            <GradientStop x:Uid="GradientStop_40" Color="{StaticResource RadioIcon4}" Offset="0.812"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_13" x:Key="radioIconFillOver" EndPoint="0.8,0.8" StartPoint="0.3,0.3">
            <GradientStop x:Uid="GradientStop_41" Color="{StaticResource Over2}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_42" Color="{StaticResource Focus}" Offset="0.179"/>
            <GradientStop x:Uid="GradientStop_43" Color="{StaticResource RadioIconOver1}" Offset="0.496"/>
            <GradientStop x:Uid="GradientStop_44" Color="{StaticResource RadioIconOver2}" Offset="0.812"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_14" x:Key="radioIconFillPress" EndPoint="0.8,0.8" StartPoint="0.3,0.3">
            <GradientStop x:Uid="GradientStop_45" Color="{StaticResource RadioIconPress1}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_46" Color="{StaticResource RadioIconPress2}" Offset="0.317"/>
            <GradientStop x:Uid="GradientStop_47" Color="{StaticResource PressHighlight}" Offset="0.504"/>
            <GradientStop x:Uid="GradientStop_48" Color="{StaticResource PressStroke2}" Offset="0.817"/>
        </LinearGradientBrush>

        <LinearGradientBrush x:Uid="LinearGradientBrush_15" x:Key="checkInnerOverStroke" EndPoint="0.8,0.8" StartPoint="0.3,0.3">
            <GradientStop x:Uid="GradientStop_49" Color="{StaticResource CheckInnerOver}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_50" Color="{StaticResource ItemOver2}" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_16" x:Key="checkInnerPressStroke" EndPoint="0.8,0.8" StartPoint="0.3,0.3">
            <GradientStop x:Uid="GradientStop_51" Color="{StaticResource CheckInnerPress}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_52" Color="{StaticResource Over2}" Offset="1"/>
        </LinearGradientBrush>

        <!-- slider specific resources -->
        <LinearGradientBrush x:Uid="LinearGradientBrush_17" x:Key="ThumbOver" EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop x:Uid="GradientStop_53" Color="#FFFFFFFF" Offset="0"/>
            <GradientStop x:Uid="GradientStop_54" Color="{StaticResource Over1}" Offset="0.484"/>
            <GradientStop x:Uid="GradientStop_55" Color="{StaticResource Over2}" Offset="0.493"/>
            <GradientStop x:Uid="GradientStop_56" Color="{StaticResource Over3}" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_18" x:Key="ThumbPress" EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop x:Uid="GradientStop_57" Color="{StaticResource ItemOver1}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_58" Color="{StaticResource Press3}" Offset="0.576"/>
            <GradientStop x:Uid="GradientStop_59" Color="{StaticResource ThumbPress1}" Offset="0.581"/>
            <GradientStop x:Uid="GradientStop_60" Color="{StaticResource ThumbPress2}" Offset="1"/>
        </LinearGradientBrush>

        <!-- datagrid specific resources -->
        <SolidColorBrush x:Uid="SolidColorBrush_24" x:Key="HeaderSeparator" Color="#FFD7D5D8" />
        <SolidColorBrush x:Uid="SolidColorBrush_25" x:Key="GridBorder" Color="#FFD6D7D6" />

        <SolidColorBrush x:Uid="SolidColorBrush_26" x:Key="dropLocator" Color="{StaticResource DropLocate}" />
        <LinearGradientBrush x:Uid="LinearGradientBrush_19" x:Key="sortArrow" EndPoint="0.725,0.832" StartPoint="0.275,0.168">
            <GradientStop x:Uid="GradientStop_61" Color="{StaticResource PressStroke2}"/>
            <GradientStop x:Uid="GradientStop_62" Color="{StaticResource DataSortArrow}" Offset="1"/>
        </LinearGradientBrush>

        <!-- combobox/datepicker/numericupdown specific resources -->
        <LinearGradientBrush x:Uid="LinearGradientBrush_20" x:Key="ComboTogglePressHighlight" EndPoint="1,0.5" StartPoint="0,0.5">
            <GradientStop x:Uid="GradientStop_63" Color="{StaticResource PressHighlight}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_64" Color="{StaticResource ButtonHighlightMid3}" Offset="0.088"/>
            <GradientStop x:Uid="GradientStop_65" Color="{StaticResource ButtonHighlightMid}" Offset="0.221"/>
            <GradientStop x:Uid="GradientStop_66" Color="{StaticResource ButtonHighlightMid}" Offset="0.779"/>
            <GradientStop x:Uid="GradientStop_67" Color="{StaticResource ButtonHighlightMid3}" Offset="0.912"/>
            <GradientStop x:Uid="GradientStop_68" Color="{StaticResource PressHighlight}" Offset="1"/>
        </LinearGradientBrush>

        <!-- expander specific resources -->
        <SolidColorBrush x:Uid="SolidColorBrush_27" x:Key="expanderArrowStroke" Color="{StaticResource ExpandArrowStroke}"/>

        <LinearGradientBrush x:Uid="LinearGradientBrush_21" x:Key="ExpanderArrowHoverFill1" EndPoint="0,1" StartPoint="0,0">
            <GradientStop x:Uid="GradientStop_69" Color="{StaticResource ItemOver1}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_70" Color="{StaticResource ExpanderOver1}" Offset="0.52"/>
            <GradientStop x:Uid="GradientStop_71" Color="{StaticResource Over3}" Offset="0.521"/>
            <GradientStop x:Uid="GradientStop_72" Color="{StaticResource Over2}" Offset="0.78"/>
            <GradientStop x:Uid="GradientStop_73" Color="{StaticResource ExpanderOver2}" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_22" x:Key="ExpanderArrowHoverFill2" EndPoint="1,0" StartPoint="0,0">
            <GradientStop x:Uid="GradientStop_74" Color="{StaticResource ExpanderOver3}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_75" Color="{StaticResource ExpanderMid}" Offset="0.346"/>
            <GradientStop x:Uid="GradientStop_76" Color="{StaticResource ExpanderMid}" Offset="0.696"/>
            <GradientStop x:Uid="GradientStop_77" Color="{StaticResource ExpanderOver3}" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_23" x:Key="ExpanderArrowHoverFill3" EndPoint="0,1" StartPoint="0,0">
            <GradientStop x:Uid="GradientStop_78" Color="#B9FFFFFF" Offset="0"/>
            <GradientStop x:Uid="GradientStop_79" Color="#33FFFFFF" Offset="0.51"/>
            <GradientStop x:Uid="GradientStop_80" Color="#00FFFFFF" Offset="0.52"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_24" x:Key="ExpanderArrowPressedFill1" EndPoint="0,1" StartPoint="0,0">
            <GradientStop x:Uid="GradientStop_81" Color="{StaticResource ItemOver2}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_82" Color="{StaticResource ExpanderPress1}" Offset="0.52"/>
            <GradientStop x:Uid="GradientStop_83" Color="{StaticResource CheckInnerOver}" Offset="0.521"/>
            <GradientStop x:Uid="GradientStop_84" Color="{StaticResource TreeviewArrowOver}" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_25" x:Key="ExpanderArrowPressedFill2" EndPoint="1,0" StartPoint="0,0">
            <GradientStop x:Uid="GradientStop_85" Color="{StaticResource ExpanderPress2}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_86" Color="{StaticResource ExpanderMid}" Offset="0.5"/>
            <GradientStop x:Uid="GradientStop_87" Color="{StaticResource ExpanderPress2}" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_26" x:Key="ExpanderArrowPressedFill3" EndPoint="0,1" StartPoint="0,0">
            <GradientStop x:Uid="GradientStop_88" Color="#A5FFFFFF" Offset="0"/>
            <GradientStop x:Uid="GradientStop_89" Color="#26FFFFFF" Offset="0.506"/>
            <GradientStop x:Uid="GradientStop_90" Color="#00FFFFFF" Offset="0.521"/>
        </LinearGradientBrush>

        <!-- Tab specific resources -->
        <SolidColorBrush x:Uid="SolidColorBrush_28" x:Key="TabOverStroke" Color="{StaticResource TabStroke}"/>

        <!-- Tab vertical (btn over vertical) -->
        <LinearGradientBrush x:Uid="LinearGradientBrush_27" x:Key="VTabOverGradient" EndPoint="1,0.5" StartPoint="0,0.5">
            <GradientStop x:Uid="GradientStop_91" Color="{StaticResource Over1}" Offset="0.5"/>
            <GradientStop x:Uid="GradientStop_92" Color="{StaticResource Over2}" Offset="0.509"/>
            <GradientStop x:Uid="GradientStop_93" Color="{StaticResource Over3}" Offset="1"/>
        </LinearGradientBrush>

        <!-- Scrollbar specific resources -->
        <SolidColorBrush x:Uid="SolidColorBrush_29" x:Key="ScrollbarBkgNormStroke" Color="#FFA4A4A4"/>

        <LinearGradientBrush x:Uid="LinearGradientBrush_28" x:Key="HScrollbarBkgNormFill" EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop x:Uid="GradientStop_94" Color="#FFEFEFF0" Offset="0.5"/>
            <GradientStop x:Uid="GradientStop_95" Color="#FFD5D6D8" Offset="0.513"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_29" x:Key="HScrollbarBkgOverFill" EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop x:Uid="GradientStop_96" Color="{StaticResource Over1}" Offset="0.5"/>
            <GradientStop x:Uid="GradientStop_97" Color="{StaticResource Over2}" Offset="0.513"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_30" x:Key="HScrollbarBkgPressFill" EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop x:Uid="GradientStop_98" Color="{StaticResource Press2}" Offset="0.5"/>
            <GradientStop x:Uid="GradientStop_99" Color="{StaticResource ThumbPress1}" Offset="0.513"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_31" x:Key="VScrollbarBkgNormFill" EndPoint="1,0.5" StartPoint="0,0.5">
            <GradientStop x:Uid="GradientStop_100" Color="#FFEFEFF0" Offset="0.5"/>
            <GradientStop x:Uid="GradientStop_101" Color="#FFD5D6D8" Offset="0.513"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_32" x:Key="VScrollbarBkgOverFill" EndPoint="1,0.5" StartPoint="0,0.5">
            <GradientStop x:Uid="GradientStop_102" Color="{StaticResource Over1}" Offset="0.5"/>
            <GradientStop x:Uid="GradientStop_103" Color="{StaticResource Over2}" Offset="0.513"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_33" x:Key="VScrollbarBkgPressFill" EndPoint="1,0.5" StartPoint="0,0.5">
            <GradientStop x:Uid="GradientStop_104" Color="{StaticResource Press2}" Offset="0.5"/>
            <GradientStop x:Uid="GradientStop_105" Color="{StaticResource ThumbPress1}" Offset="0.513"/>
        </LinearGradientBrush>

        <LinearGradientBrush x:Uid="LinearGradientBrush_34" x:Key="HThumbDivetNormFill" EndPoint="0.5,1" StartPoint="0.5,0.1">
            <GradientStop x:Uid="GradientStop_106" Color="#FF979797" Offset="0"/>
            <GradientStop x:Uid="GradientStop_107" Color="#19979797" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_35" x:Key="HThumbDivetNormStroke" EndPoint="0.5,1" StartPoint="0.5,0.1">
            <GradientStop x:Uid="GradientStop_108" Color="#B2000000" Offset="0"/>
            <GradientStop x:Uid="GradientStop_109" Color="#33000000" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_36" x:Key="HThumbDivetOverFill" EndPoint="0.5,1" StartPoint="0.5,0.1">
            <GradientStop x:Uid="GradientStop_110" Color="{StaticResource Press3}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_111" Color="{StaticResource ThumbDivetFill1}" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_37" x:Key="HThumbDivetOverStroke" EndPoint="0.5,1" StartPoint="0.5,0.1">
            <GradientStop x:Uid="GradientStop_112" Color="{StaticResource ThumbDivetOver}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_113" Color="{StaticResource ThumbDivetFill2}" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_38" x:Key="HThumbDivetPressFill" EndPoint="0.5,1" StartPoint="0.5,0.1">
            <GradientStop x:Uid="GradientStop_114" Color="{StaticResource RadioIconPress2}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_115" Color="{StaticResource ThumbDivetFill1}" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_39" x:Key="HThumbDivetPressStroke" EndPoint="0.5,1" StartPoint="0.5,0.1">
            <GradientStop x:Uid="GradientStop_116" Color="{StaticResource PressStroke1}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_117" Color="{StaticResource ThumbDivetFill2}" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_40" x:Key="VThumbDivetNormFill" EndPoint="1,0.5" StartPoint="0.1,0.5">
            <GradientStop x:Uid="GradientStop_118" Color="#FF979797" Offset="0"/>
            <GradientStop x:Uid="GradientStop_119" Color="#19979797" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_41" x:Key="VThumbDivetNormStroke" EndPoint="1,0.5" StartPoint="0.1,0.5">
            <GradientStop x:Uid="GradientStop_120" Color="#B2000000" Offset="0"/>
            <GradientStop x:Uid="GradientStop_121" Color="#33000000" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_42" x:Key="VThumbDivetOverFill" EndPoint="1,0.5" StartPoint="0.1,0.5">
            <GradientStop x:Uid="GradientStop_122" Color="{StaticResource Press3}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_123" Color="{StaticResource ThumbDivetFill1}" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_43" x:Key="VThumbDivetOverStroke" EndPoint="1,0.5" StartPoint="0.1,0.5">
            <GradientStop x:Uid="GradientStop_124" Color="{StaticResource ThumbDivetOver}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_125" Color="{StaticResource ThumbDivetFill2}" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_44" x:Key="VThumbDivetPressFill" EndPoint="1,0.5" StartPoint="0.1,0.5">
            <GradientStop x:Uid="GradientStop_126" Color="{StaticResource RadioIconPress2}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_127" Color="{StaticResource ThumbDivetFill1}" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_45" x:Key="VThumbDivetPressStroke" EndPoint="1,0.5" StartPoint="0.1,0.5">
            <GradientStop x:Uid="GradientStop_128" Color="{StaticResource PressStroke1}" Offset="0"/>
            <GradientStop x:Uid="GradientStop_129" Color="{StaticResource ThumbDivetFill2}" Offset="1"/>
        </LinearGradientBrush>
        <!-- End Static Resources -->


        <Color x:Uid="Color_60" x:Key="BlackColor">#FF000000</Color>
        <Color x:Uid="Color_61" x:Key="WhiteColor">#FFFFFFFF</Color>


        <SolidColorBrush x:Uid="SolidColorBrush_30" x:Key="DisabledForegroundBrush" Color="#888"/>


        <SolidColorBrush x:Uid="SolidColorBrush_31" x:Key="WindowBackgroundBrush" Color="#FFF"/>


        <Style x:Uid="Style_1" x:Key="NuclearButtonFocusVisual">
            <Setter x:Uid="Setter_1" Property="Control.Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_1">
                        <Border x:Uid="Border_1">
                            <Rectangle x:Uid="Rectangle_1" Margin="2" Stroke="#60000000" StrokeThickness="1" StrokeDashArray="1 2"/>
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_2" TargetType="{x:Type Button}" BasedOn="{x:Null}">
            <Setter x:Uid="Setter_2" Property="Foreground" Value="{StaticResource ButtonFontColor}"/>
            <Setter x:Uid="Setter_3" Property="Padding" Value="3"/>
            <Setter x:Uid="Setter_4" Property="FocusVisualStyle" Value="{DynamicResource NuclearButtonFocusVisual}"/>
<Setter x:Uid="Setter_5" Property="Template" Value="{DynamicResource ButtonTemplate}" />
        </Style>
    
    <ControlTemplate x:Uid="ControlTemplate_2" x:Key="ButtonTemplate" TargetType="{x:Type Button}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_1" x:Key="HoverOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_1" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundOver" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_2" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundOver_Highlight" Storyboard.TargetProperty="Opacity" To="0.65"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_2" x:Key="HoverOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_3" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundOver" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_4" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundOver_Highlight" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_3" x:Key="PressedOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_5" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundPressed" Storyboard.TargetProperty="Opacity" To="0.84"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_6" Duration="00:00:00.1000000" Storyboard.TargetName="BackgoundPressed_Highlight" Storyboard.TargetProperty="Opacity" To="0.65"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_4" x:Key="PressedOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_7" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundPressed" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_8" Duration="00:00:00.4000000" Storyboard.TargetName="BackgoundPressed_Highlight" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_5" x:Key="FocusedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_1" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_1" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_6" x:Key="FocusedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_2" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_2" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Grid x:Uid="Grid" x:Name="Grid">
                            <Border x:Uid="BackgroundNorm" x:Name="BackgroundNorm" Background="{StaticResource grayGradient}" BorderThickness="1" BorderBrush="#FF8E8F8F" CornerRadius="3"/>
                            <Border x:Uid="BackgroundNorm_highlight" x:Name="BackgroundNorm_highlight" Margin="1" BorderBrush="#F2FFFFFF" BorderThickness="1,0,1,1" CornerRadius="3" Opacity="0.65"/>
                            <Border x:Uid="BackgroundOver" x:Name="BackgroundOver" Background="{StaticResource BtnOverFill}" BorderBrush="{StaticResource TextBoxPressBrush}" BorderThickness="1" CornerRadius="3" Opacity="0"/>
                            <Border x:Uid="BackgroundOver_Highlight" x:Name="BackgroundOver_Highlight" Margin="1" Background="{StaticResource btnOverFillHighlight}" BorderBrush="{StaticResource hoverStroke}" BorderThickness="1,0,1,1" CornerRadius="3" Opacity="0"/>
                            <Border x:Uid="BackgroundPressed" x:Name="BackgroundPressed" Background="{StaticResource BtnPressFill}" BorderBrush="{StaticResource btnPressBorder}" BorderThickness="1" CornerRadius="3" Opacity="0"/>
                            <Border x:Uid="BackgoundPressed_Highlight" x:Name="BackgoundPressed_Highlight" Background="{StaticResource btnPressFillHighlight}" Margin="1" CornerRadius="2.5" Opacity="0"/>
                            <Border x:Uid="Background_overlay" x:Name="Background_overlay" Margin="1,1,1,0" BorderThickness="1" CornerRadius="3,3,0,0">
                                <Border.Background>
                                    <LinearGradientBrush x:Uid="LinearGradientBrush_46" EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop x:Uid="GradientStop_130" Color="#00FFFFFF" Offset="0"/>
                                        <GradientStop x:Uid="GradientStop_131" Color="#72FFFFFF" Offset="0.157"/>
                                        <GradientStop x:Uid="GradientStop_132" Color="#72FFFFFF" Offset="0.5"/>
                                        <GradientStop x:Uid="GradientStop_133" Color="#00FFFFFF" Offset="0.51"/>
                                    </LinearGradientBrush>
                                </Border.Background>
                            </Border>
                            <Border x:Uid="DisabledVisualElement" x:Name="DisabledVisualElement" Background="#FFF1F1F1" BorderBrush="#FFB2B2B2" BorderThickness="1" CornerRadius="3" IsHitTestVisible="false" Visibility="Collapsed"/>
                            <ContentPresenter
                        		x:Uid="contentPresenter" x:Name="contentPresenter"
                        		Content="{TemplateBinding Content}"
                        		ContentTemplate="{TemplateBinding ContentTemplate}"
                        		VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                        		HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                        		Margin="{TemplateBinding Padding}"/>
                            <TextBlock x:Uid="DisabledOverlay" Panel.ZIndex="1"
                        		x:Name="DisabledOverlay"
                        		Text="{TemplateBinding Content}"
                        		Foreground="#FF969696"
                        		HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                        		VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                        		Margin="{TemplateBinding Padding}"
                        		Visibility="Collapsed"/>
                            <Border x:Uid="FocusVisualElement" x:Name="FocusVisualElement" Margin="1" BorderBrush="{StaticResource btnFocus}" BorderThickness="1" CornerRadius="2" IsHitTestVisible="false" Opacity="0"/>
                            <Border x:Uid="DefaultBorder" x:Name="DefaultBorder" Margin="1" BorderBrush="{StaticResource btnFocus}" BorderThickness="1" CornerRadius="2" IsHitTestVisible="false" Opacity="0"/>
                        </Grid>

                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_1" Property="IsDefault" Value="True">
                                <Setter x:Uid="Setter_6" Property="Opacity" TargetName="DefaultBorder" Value="1"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_2" Property="IsKeyboardFocused" Value="true">

                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="FocusedOff_BeginStoryboard" x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="FocusedOn_BeginStoryboard" x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}"/>
                                </Trigger.EnterActions>

                            </Trigger>
                            <Trigger x:Uid="Trigger_3" Property="IsMouseOver" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_1" Storyboard="{StaticResource HoverOn}"/>
                                </Trigger.EnterActions>

                            </Trigger>
                            <Trigger x:Uid="Trigger_4" Property="IsPressed" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_2" Storyboard="{StaticResource PressedOff}" />
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_3" Storyboard="{StaticResource PressedOn}"/>
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_5" Property="IsEnabled" Value="true"/>
                            <Trigger x:Uid="Trigger_6" Property="IsEnabled" Value="false">
                                <Setter x:Uid="Setter_7" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                                <Setter x:Uid="Setter_8" Property="Visibility" TargetName="DisabledVisualElement" Value="Visible"/>
                                <Setter x:Uid="Setter_9" Property="Visibility" TargetName="DisabledOverlay" Value="Visible"/>
                                <Setter x:Uid="Setter_10" Property="Visibility" TargetName="contentPresenter" Value="Collapsed"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>

        <Style x:Uid="Style_3" x:Key="RadioButtonFocusVisual">
            <Setter x:Uid="Setter_11" Property="Control.Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_3">
                        <Border x:Uid="Border_2">
                            <Rectangle x:Uid="Rectangle_2" Margin="15,0,0,0" Stroke="#60000000" StrokeThickness="1" StrokeDashArray="1 2"/>
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_4" x:Key="CheckBoxFocusVisual">
            <Setter x:Uid="Setter_12" Property="Control.Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_4">
                        <Border x:Uid="Border_3">
                            <Rectangle x:Uid="Rectangle_3" Margin="15,0,0,0" Stroke="#60000000" StrokeThickness="1" StrokeDashArray="1 2"/>
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_5" TargetType="{x:Type CheckBox}">
            <Setter x:Uid="Setter_13" Property="SnapsToDevicePixels" Value="true"/>
            <Setter x:Uid="Setter_14" Property="FocusVisualStyle" Value="{DynamicResource CheckBoxFocusVisual}"/>
            <Setter x:Uid="Setter_15" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
            <Setter x:Uid="Setter_16" Property="HorizontalContentAlignment" Value="Left"/>
            <Setter x:Uid="Setter_17" Property="VerticalContentAlignment" Value="Top"/>
            <Setter x:Uid="Setter_18" Property="Padding" Value="4,1,0,0"/>

<Setter x:Uid="Setter_19" Property="Template" Value="{DynamicResource CheckBoxTemplate}" />
        </Style>
    
    <ControlTemplate x:Uid="ControlTemplate_5" x:Key="CheckBoxTemplate" TargetType="{x:Type CheckBox}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_7" x:Key="HoverOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_3" BeginTime="00:00:00" Storyboard.TargetName="Background_Over" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_3" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_4" BeginTime="00:00:00" Storyboard.TargetName="BoxOver" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_4" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>

                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_8" x:Key="HoverOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_5" BeginTime="00:00:00" Storyboard.TargetName="Background_Over" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_5" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_6" BeginTime="00:00:00" Storyboard.TargetName="BoxOver" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_6" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>

                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_9" x:Key="PressedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_7" BeginTime="00:00:00" Storyboard.TargetName="BoxPress" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_7" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_8" BeginTime="00:00:00" Storyboard.TargetName="Background_Press" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_8" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_10" x:Key="PressedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_9" BeginTime="00:00:00" Storyboard.TargetName="Background_Press" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_9" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_10" BeginTime="00:00:00" Storyboard.TargetName="BoxPress" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_10" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_11" x:Key="CheckedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_11" BeginTime="00:00:00" Storyboard.TargetName="CheckIcon" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_11" KeyTime="00:00:00.1000000" Value="0.9"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_12" x:Key="CheckedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_12" BeginTime="00:00:00" Storyboard.TargetName="CheckIcon" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_12" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_13" x:Key="IndeterminateOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_13" BeginTime="00:00:00" Storyboard.TargetName="IndeterminateIcon" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_13" KeyTime="00:00:00.1000000" Value="0.9"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_14" x:Key="IndeterminateOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_14" BeginTime="00:00:00" Storyboard.TargetName="IndeterminateIcon" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_14" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_15" x:Key="FocusedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_15" BeginTime="00:00:00" Storyboard.TargetName="FocusedVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_15" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_16" x:Key="FocusedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_16" BeginTime="00:00:00" Storyboard.TargetName="FocusedVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_16" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <BulletDecorator x:Uid="BulletDecorator_1" Background="Transparent">
                            <BulletDecorator.Bullet>
                                <Grid x:Uid="Grid_1">
                                    <Rectangle x:Uid="Background" x:Name="Background" Margin="1" Width="13" Height="13" Fill="#FFF4F4F4" Stroke="#FF868686" StrokeThickness="1" />
                                    <Rectangle x:Uid="Background_Over" x:Name="Background_Over" Width="13" Height="13" Fill="{StaticResource checkOverFill}" Stroke="{StaticResource checkOverStroke}" StrokeThickness="1" Opacity="0"/>
                                    <Rectangle x:Uid="Background_Press" x:Name="Background_Press" Width="13" Height="13" Fill="{StaticResource checkPressFill}" Stroke="{StaticResource btnPressStroke2}" StrokeThickness="1" Opacity="0"/>
                                    <Rectangle x:Uid="BoxFill" x:Name="BoxFill" Width="9" Height="9" Fill="#FFCACFD5" StrokeThickness="1">
                                        <Rectangle.Stroke>
                                            <LinearGradientBrush x:Uid="LinearGradientBrush_47" EndPoint="0.8,0.8" StartPoint="0.3,0.3">
                                                <GradientStop x:Uid="GradientStop_134" Color="#FFB3B8BD"/>
                                                <GradientStop x:Uid="GradientStop_135" Color="#FFE0E0E0" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Rectangle.Stroke>
                                    </Rectangle>
                                    <Rectangle x:Uid="BoxOver" x:Name="BoxOver" Margin="3" Width="9" Height="9" Fill="{StaticResource checkInnerOverFill}" Stroke="{StaticResource checkInnerOverStroke}" StrokeThickness="1" Opacity="0"/>
                                    <Rectangle x:Uid="BoxPress" x:Name="BoxPress" Width="9" Height="9" Fill="{StaticResource checkInnerPressFill}" Stroke="{StaticResource checkInnerPressStroke}" StrokeThickness="1" Opacity="0" />
                                    <Rectangle x:Uid="BoxGradient" x:Name="BoxGradient" Width="7" Height="7" StrokeThickness="1">
                                        <Rectangle.Fill>
                                            <LinearGradientBrush x:Uid="LinearGradientBrush_48" StartPoint="0.238,0.228" EndPoint="0.752,0.749">
                                                <GradientStop x:Uid="GradientStop_136" Color="#00F6F6F6" Offset="0.254" />
                                                <GradientStop x:Uid="GradientStop_137" Color="#53F8F8F8" Offset="0.54"/>
                                                <GradientStop x:Uid="GradientStop_138" Color="#BFFFFFFF" Offset="0.996"/>
                                            </LinearGradientBrush>
                                        </Rectangle.Fill>
                                    </Rectangle>
                                    <Rectangle x:Uid="IndeterminateIcon" x:Name="IndeterminateIcon" Width="5" Height="2" Fill="{StaticResource checkIconStroke}" Opacity="0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                    <Path x:Uid="CheckIcon" x:Name="CheckIcon" Margin="0,3.333,3.833,0" Width="7" Height="9" Fill="{StaticResource checkIconStroke}" Stretch="Fill" Opacity="0" VerticalAlignment="Top" HorizontalAlignment="Right" Data="M103.78572,598.96112 L105.09846,597.5661 L107.00806,600.16229 C107.00806,600.16229 109.91004,592.74463 109.91004,592.74463 C109.91004,592.74463 111.74678,593.79761 111.74678,593.79761 C111.74678,593.79761 107.88566,602.75848 107.88566,602.75848 L106.60118,602.75848 z"/>
                                    <Rectangle x:Uid="FocusedVisualElement" x:Name="FocusedVisualElement" Stroke="{StaticResource btnFocus}" StrokeThickness="1" Visibility="Visible" Opacity="0"/>
                                    <Rectangle x:Uid="Rectangle_4" x:Name="DisabledVisualElement" Margin="1" Fill="#4CFFFFFF" Visibility="Collapsed"/>
                                </Grid>
                            </BulletDecorator.Bullet>
                            <ContentPresenter x:Uid="ContentPresenter_1" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True"/>
                        </BulletDecorator>

                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_7" Property="IsFocused" Value="True">
                                <Trigger.ExitActions>

                                    <BeginStoryboard x:Uid="BeginStoryboard_4" Storyboard="{StaticResource FocusedOff}" x:Name="FocusedOff_BeginStoryboard"/>

                                </Trigger.ExitActions>
                                <Trigger.EnterActions>

                                    <BeginStoryboard x:Uid="BeginStoryboard_5" Storyboard="{StaticResource FocusedOn}" x:Name="FocusedOn_BeginStoryboard"/>

                                </Trigger.EnterActions>
                            </Trigger>
                            <MultiTrigger x:Uid="MultiTrigger_1">
                                <MultiTrigger.Conditions>
                                    <Condition x:Uid="Condition_1" Property="IsChecked" Value="True" />
                                    <Condition x:Uid="Condition_2" Property="IsThreeState" Value="True" />
                                </MultiTrigger.Conditions>
                                <MultiTrigger.EnterActions>

                                    <BeginStoryboard x:Uid="CheckedOn_BeginStoryboard" Storyboard="{StaticResource CheckedOn}" x:Name="CheckedOn_BeginStoryboard"/>

                                </MultiTrigger.EnterActions>
                                <MultiTrigger.ExitActions>

                                    <BeginStoryboard x:Uid="CheckedOff_BeginStoryboard" Storyboard="{StaticResource CheckedOff}" x:Name="CheckedOff_BeginStoryboard"/>

                                </MultiTrigger.ExitActions>
                            </MultiTrigger>
                            <MultiTrigger x:Uid="MultiTrigger_2">
                                <MultiTrigger.Conditions>
                                    <Condition x:Uid="Condition_3" Property="IsChecked" Value="{x:Null}" />
                                    <Condition x:Uid="Condition_4" Property="IsThreeState" Value="True" />
                                </MultiTrigger.Conditions>
                                <MultiTrigger.EnterActions>

                                    <BeginStoryboard x:Uid="IndeterminateOn_BeginStoryboard" Storyboard="{StaticResource IndeterminateOn}" x:Name="IndeterminateOn_BeginStoryboard"/>

                                </MultiTrigger.EnterActions>
                                <MultiTrigger.ExitActions>

                                    <BeginStoryboard x:Uid="IndeterminateOff_BeginStoryboard" Storyboard="{StaticResource IndeterminateOff}" x:Name="IndeterminateOff_BeginStoryboard"/>

                                </MultiTrigger.ExitActions>
                                <Setter x:Uid="Setter_20" Property="Opacity" TargetName="CheckIcon" Value="0"/>
                                <Setter x:Uid="Setter_21" Property="Visibility" TargetName="CheckIcon" Value="Collapsed"/>
                            </MultiTrigger>
                            <Trigger x:Uid="Trigger_8" Property="IsChecked" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="CheckedOn_BeginStoryboard1" Storyboard="{StaticResource CheckedOff}" x:Name="CheckedOn_BeginStoryboard1"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="CheckedOff_BeginStoryboard1" Storyboard="{StaticResource CheckedOn}" x:Name="CheckedOff_BeginStoryboard1"/>
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_9" Property="IsMouseOver" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_6" Storyboard="{StaticResource HoverOff}"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_7" Storyboard="{StaticResource HoverOn}"/>
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_10" Property="IsPressed" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_8" Storyboard="{StaticResource PressedOff}"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_9" Storyboard="{StaticResource PressedOn}"/>
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_11" Property="IsEnabled" Value="false">

                                <Setter x:Uid="Setter_22" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                                <Setter x:Uid="Setter_23" Property="Visibility" TargetName="DisabledVisualElement" Value="Visible"/>
                            </Trigger>
                        </ControlTemplate.Triggers>

                    </ControlTemplate>

        <Style x:Uid="Style_6" TargetType="{x:Type RadioButton}">
            <Setter x:Uid="Setter_24" Property="SnapsToDevicePixels" Value="true"/>
            <Setter x:Uid="Setter_25" Property="FocusVisualStyle" Value="{DynamicResource RadioButtonFocusVisual}"/>
            <Setter x:Uid="Setter_26" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
            <Setter x:Uid="Setter_27" Property="HorizontalContentAlignment" Value="Left"/>
            <Setter x:Uid="Setter_28" Property="VerticalContentAlignment" Value="Top"/>
            <Setter x:Uid="Setter_29" Property="Padding" Value="4,1,0,0"/>
<Setter x:Uid="Setter_30" Property="Template" Value="{DynamicResource RadioButtonTemplate}" />
        </Style>
    
    <ControlTemplate x:Uid="ControlTemplate_6" x:Key="RadioButtonTemplate" TargetType="{x:Type RadioButton}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_17" x:Key="HoverOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_17" BeginTime="00:00:00" Storyboard.TargetName="CircleOver" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_17" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_18" BeginTime="00:00:00" Storyboard.TargetName="BackgroundOver" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_18" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>

                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_18" x:Key="HoverOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_19" BeginTime="00:00:00" Storyboard.TargetName="BackgroundOver" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_19" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_20" BeginTime="00:00:00" Storyboard.TargetName="CircleOver" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_20" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>

                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_19" x:Key="PressedOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_9" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundPress" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_10" Duration="00:00:00.1000000" Storyboard.TargetName="CircleFillPress" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_11" Duration="00:00:00.1000000" Storyboard.TargetName="CircleIconPress" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_20" x:Key="PressedOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_12" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundPress" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_13" Duration="00:00:00.4000000" Storyboard.TargetName="CircleFillPress" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_14" Duration="00:00:00.4000000" Storyboard.TargetName="CircleIconPress" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_21" x:Key="CheckedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_21" BeginTime="00:00:00" Storyboard.TargetName="CircleIcon" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_21" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_22" BeginTime="00:00:00" Storyboard.TargetName="CheckIconOver" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_22" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_23" BeginTime="00:00:00" Storyboard.TargetName="CircleIconPress" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_23" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>


                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_22" x:Key="CheckedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_24" BeginTime="00:00:00" Storyboard.TargetName="CircleIcon" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_24" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_25" BeginTime="00:00:00" Storyboard.TargetName="CheckIconOver" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_25" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_26" BeginTime="00:00:00" Storyboard.TargetName="CircleIconPress" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_26" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>


                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_23" x:Key="FocusedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_27" BeginTime="00:00:00" Storyboard.TargetName="FocusedVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_27" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_24" x:Key="FocusedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_28" BeginTime="00:00:00" Storyboard.TargetName="FocusedVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_28" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <BulletDecorator x:Uid="BulletDecorator_2" Background="Transparent">
                            <BulletDecorator.Bullet>
                                <Grid x:Uid="Grid_2">
                                    <Ellipse x:Uid="Ellipse_1" x:Name="Background" Width="14" Height="14" Fill="#FFF4F4F4" Stroke="#FF6F6F6F" StrokeThickness="1"/>
                                    <Ellipse x:Uid="Ellipse_2" x:Name="BackgroundOver" Width="14" Height="14" Fill="{StaticResource checkOverFill}" Stroke="{StaticResource checkOverStroke}" StrokeThickness="1" Opacity="0"/>
                                    <Ellipse x:Uid="BackgroundPress" x:Name="BackgroundPress" Width="14" Height="14" Fill="{StaticResource checkPressFill}" Stroke="{StaticResource btnPressStroke2}" StrokeThickness="1" Opacity="0"/>
                                    <Ellipse x:Uid="CircleFill" x:Name="CircleFill" Margin="2" Fill="#FFCACFD5" StrokeThickness="1">
                                        <Ellipse.Stroke>
                                            <LinearGradientBrush x:Uid="LinearGradientBrush_49" EndPoint="0.8,0.8" StartPoint="0.3,0.3">
                                                <GradientStop x:Uid="GradientStop_139" Color="#FFB3B8BD" Offset="0"/>
                                                <GradientStop x:Uid="GradientStop_140" Color="#FFE0E0E0" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Ellipse.Stroke>
                                    </Ellipse>
                                    <Ellipse x:Uid="CircleOver" x:Name="CircleOver" Margin="2" Fill="{StaticResource checkInnerOverFill}" Stroke="{StaticResource checkInnerOverStroke}" StrokeThickness="1" Opacity="0"/>
                                    <Ellipse x:Uid="CircleFillPress" x:Name="CircleFillPress" Margin="2" Fill="{StaticResource checkInnerPressFill}" Stroke="{StaticResource checkInnerPressStroke}" StrokeThickness="1" Opacity="0" Visibility="Visible"/>
                                    <Ellipse x:Uid="CircleGradient" x:Name="CircleGradient" Margin="3" StrokeThickness="1">
                                        <Ellipse.Fill>
                                            <LinearGradientBrush x:Uid="LinearGradientBrush_50" EndPoint="0.8,0.8" StartPoint="0.3,0.3">
                                                <GradientStop x:Uid="GradientStop_141" Color="#00F6F6F6" Offset="0"/>
                                                <GradientStop x:Uid="GradientStop_142" Color="#53F8F8F8" Offset="0.3"/>
                                                <GradientStop x:Uid="GradientStop_143" Color="#BFFFFFFF" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Ellipse.Fill>
                                    </Ellipse>
                                    <Ellipse x:Uid="CircleIcon" x:Name="CircleIcon" Margin="3" Fill="{StaticResource radioIconFill}" Stroke="{StaticResource radioIconStroke}" StrokeThickness="1.25" Opacity="0"/>
                                    <Ellipse x:Uid="CheckIconOver" x:Name="CheckIconOver" Margin="3" Fill="{StaticResource radioIconFillOver}" Stroke="{StaticResource radioIconStroke}" StrokeThickness="1.25" Opacity="0"/>
                                    <Ellipse x:Uid="CircleIconPress" x:Name="CircleIconPress" Margin="3" Fill="{StaticResource radioIconFillPress}" Stroke="{StaticResource radioIconStroke}" StrokeThickness="1.25" Opacity="0"/>
                                    <Ellipse x:Uid="Ellipse_3" x:Name="DisabledVisualElement" Width="14" Height="14" Fill="#FFFFFFFF" Stroke="#FFFFFFFF" Opacity="0.35" Visibility="Collapsed"/>
                                    <Ellipse x:Uid="Ellipse_4" x:Name="FocusedVisualElement" Margin="-1" Width="16" Height="16" Stroke="{StaticResource btnFocus}" StrokeThickness="1" IsHitTestVisible="false" Opacity="0" />
                                </Grid>
                            </BulletDecorator.Bullet>
                            <ContentPresenter x:Uid="ContentPresenter_2" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True"/>
                        </BulletDecorator>

                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_12" Property="IsFocused" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_10" Storyboard="{StaticResource FocusedOff}" x:Name="FocusedOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_11" Storyboard="{StaticResource FocusedOn}" x:Name="FocusedOn_BeginStoryboard"/>
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_13" Property="IsChecked" Value="false">

                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_12" x:Name="CheckedOn_BeginStoryboard" Storyboard="{StaticResource CheckedOn}"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_13" x:Name="CheckedOff_BeginStoryboard" Storyboard="{StaticResource CheckedOff}"/>
                                </Trigger.EnterActions>

                            </Trigger>
                            <Trigger x:Uid="Trigger_14" Property="IsMouseOver" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_14" Storyboard="{StaticResource HoverOff}"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_15" Storyboard="{StaticResource HoverOn}"/>
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_15" Property="IsPressed" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_16" Storyboard="{StaticResource PressedOff}"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_17" Storyboard="{StaticResource PressedOn}"/>
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_16" Property="IsEnabled" Value="false">

                                <Setter x:Uid="Setter_31" Property="Foreground" Value="#80000000"/>
                                <Setter x:Uid="Setter_32" Property="Visibility" TargetName="DisabledVisualElement" Value="Visible"/>
                            </Trigger>

                        </ControlTemplate.Triggers>
                    </ControlTemplate>

        <Style x:Uid="Style_7" x:Key="NuclearRepeatButton" d:IsControlPart="True" TargetType="{x:Type RepeatButton}" BasedOn="{x:Null}">
            <Setter x:Uid="Setter_33" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_7" TargetType="{x:Type RepeatButton}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_25" x:Key="HoverOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_15" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundOver" Storyboard.TargetProperty="Opacity" To="1" />
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_26" x:Key="HoverOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_16" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundOver" Storyboard.TargetProperty="Opacity" To="0" />
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_27" x:Key="PressedOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_17" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundPressed" Storyboard.TargetProperty="Opacity" To="1" />
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_28" x:Key="PressedOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_18" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundPressed" Storyboard.TargetProperty="Opacity" To="0" />
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Grid x:Uid="Grid_3">
                            <Rectangle x:Uid="Rectangle_5" x:Name="Background" Fill="{StaticResource VScrollbarBkgNormFill}" Stroke="{StaticResource ScrollbarBkgNormStroke}" StrokeThickness="1" RadiusX="0.5" RadiusY="0.5" Opacity="0" />
                            <Rectangle x:Uid="Rectangle_6" x:Name="BackgroundOver" Fill="{StaticResource VScrollbarBkgOverFill}" Stroke="{StaticResource TextBoxPressBrush}" StrokeThickness="1" RadiusX="0.5" RadiusY="0.5" Opacity="0"/>
                            <Rectangle x:Uid="Rectangle_7" x:Name="BackgroundPressed" Fill="{StaticResource VScrollbarBkgPressFill}" Stroke="{StaticResource btnPressStroke2}" StrokeThickness="1" RadiusX="0.5" RadiusY="0.5" Opacity="0"/>
                            <Rectangle x:Uid="Highlight" x:Name="Highlight" Margin="1" Stroke="#99FFFFFF" StrokeThickness="1" RadiusX="0.5" RadiusY="0.5" Opacity="0" IsHitTestVisible="false"/>
                            <Rectangle x:Uid="DisabledElement" x:Name="DisabledElement" Fill="#FFFFFFFF" Opacity="0"/>
                            <ContentPresenter x:Uid="ContentPresenter" HorizontalAlignment="Center" x:Name="ContentPresenter" VerticalAlignment="Center" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_17" Property="IsKeyboardFocused" Value="true"/>
                            <Trigger x:Uid="Trigger_18" Property="IsMouseOver" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_18" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_19" Storyboard="{StaticResource HoverOn}"/>
                                </Trigger.EnterActions>

                            </Trigger>
                            <Trigger x:Uid="Trigger_19" Property="IsPressed" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="PressedOff_BeginStoryboard" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="PressedOn_BeginStoryboard" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                                </Trigger.EnterActions>

                            </Trigger>
                            <Trigger x:Uid="Trigger_20" Property="IsEnabled" Value="false">

                                <Setter x:Uid="Setter_34" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                                <Setter x:Uid="Setter_35" Property="Opacity" TargetName="DisabledElement" Value="0.7"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_8" x:Key="NuclearThumbStyle" d:IsControlPart="True" TargetType="{x:Type Thumb}" BasedOn="{x:Null}">
            <Setter x:Uid="Setter_36" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_8" TargetType="{x:Type Thumb}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_29" x:Key="HoverOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_19" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundOver" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_20" Duration="00:00:00.1000000" Storyboard.TargetName="BorderOver" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_21" Duration="00:00:00.1000000" Storyboard.TargetName="BorderOver1" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_22" Duration="00:00:00.1000000" Storyboard.TargetName="BorderOver2" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_30" x:Key="HoverOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_23" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundOver" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_24" Duration="00:00:00.4000000" Storyboard.TargetName="BorderOver" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_25" Duration="00:00:00.4000000" Storyboard.TargetName="BorderOver1" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_26" Duration="00:00:00.4000000" Storyboard.TargetName="BorderOver2" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_31" x:Key="PressedOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_27" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundPressed" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_28" Duration="00:00:00.1000000" Storyboard.TargetName="BorderPress" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_29" Duration="00:00:00.1000000" Storyboard.TargetName="BorderPress1" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_30" Duration="00:00:00.1000000" Storyboard.TargetName="BorderPress2" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_32" x:Key="PressedOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_31" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundPressed" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_32" Duration="00:00:00.4000000" Storyboard.TargetName="BorderPress" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_33" Duration="00:00:00.4000000" Storyboard.TargetName="BorderPress1" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_34" Duration="00:00:00.4000000" Storyboard.TargetName="BorderPress2" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Grid x:Uid="Grid_4" Margin="0,0,0,0" x:Name="Grid">
                            <Rectangle x:Uid="Rectangle_8" x:Name="Background" Fill="{StaticResource VScrollbarBkgNormFill}" Stroke="{StaticResource ScrollbarBkgNormStroke}" RadiusX="1.5" RadiusY="1.5"/>
                            <Rectangle x:Uid="Rectangle_9" x:Name="BackgroundOver" Fill="{StaticResource VScrollbarBkgOverFill}" Stroke="{StaticResource TextBoxPressBrush}" RadiusX="1.5" RadiusY="1.5" Opacity="0"/>
                            <Rectangle x:Uid="Rectangle_10" x:Name="BackgroundPressed" Fill="{StaticResource VScrollbarBkgPressFill}" Stroke="{StaticResource btnPressStroke2}" RadiusX="1.5" RadiusY="1.5" Opacity="0"/>
                            <Rectangle x:Uid="BorderHighlight" x:Name="BorderHighlight" Width="11" Height="10" HorizontalAlignment="Center" VerticalAlignment="Center">
                                <Rectangle.Stroke>
                                    <LinearGradientBrush x:Uid="LinearGradientBrush_51" EndPoint="1,0.5" StartPoint="0,0.5">
                                        <GradientStop x:Uid="GradientStop_144" Color="#00FFFFFF" Offset="0"/>
                                        <GradientStop x:Uid="GradientStop_145" Color="#59FFFFFF" Offset="1"/>
                                    </LinearGradientBrush>
                                </Rectangle.Stroke>
                            </Rectangle>
                            <Border x:Uid="Border_4" Margin="0,0,0,6" Width="9" Height="2" Background="{StaticResource VThumbDivetNormFill}" BorderBrush="{StaticResource VThumbDivetNormStroke}" BorderThickness="1,1,0,0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                            <Border x:Uid="Border_5" Width="9" Height="2" Background="{StaticResource VThumbDivetNormFill}" BorderBrush="{StaticResource VThumbDivetNormStroke}" BorderThickness="1,1,0,0" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                            <Border x:Uid="Border_6" Margin="0,0,0,-6" Width="9" Height="2" Background="{StaticResource VThumbDivetNormFill}" BorderBrush="{StaticResource VThumbDivetNormStroke}" BorderThickness="1,1,0,0" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                            <Border x:Uid="BorderOver" x:Name="BorderOver" Margin="0,0,0,6" Width="9" Height="2" Background="{StaticResource VThumbDivetOverFill}" BorderBrush="{StaticResource VThumbDivetOverStroke}" BorderThickness="1,1,0,0" VerticalAlignment="Center" HorizontalAlignment="Center" Opacity="0"/>
                            <Border x:Uid="BorderOver1" x:Name="BorderOver1" Width="9" Height="2" Background="{StaticResource VThumbDivetOverFill}" BorderBrush="{StaticResource VThumbDivetOverStroke}" BorderThickness="1,1,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Opacity="0"/>
                            <Border x:Uid="BorderOver2" x:Name="BorderOver2" Margin="0,0,0,-6" Width="9" Height="2" Background="{StaticResource VThumbDivetOverFill}" BorderBrush="{StaticResource VThumbDivetOverStroke}" BorderThickness="1,1,0,0" VerticalAlignment="Center" HorizontalAlignment="Center" Opacity="0"/>
                            <Border x:Uid="BorderPress" x:Name="BorderPress" Margin="0,0,0,6" Width="9" Height="2" Background="{StaticResource VThumbDivetPressFill}" BorderBrush="{StaticResource VThumbDivetPressStroke}" BorderThickness="1,1,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Opacity="0"/>
                            <Border x:Uid="BorderPress1" x:Name="BorderPress1" Width="9" Height="2" Background="{StaticResource VThumbDivetPressFill}" BorderBrush="{StaticResource VThumbDivetPressStroke}" BorderThickness="1,1,0,0" VerticalAlignment="Center" HorizontalAlignment="Center" Opacity="0"/>
                            <Border x:Uid="BorderPress2" x:Name="BorderPress2" Margin="0,0,0,-6" Width="9" Height="2" Background="{StaticResource VThumbDivetPressFill}" BorderBrush="{StaticResource VThumbDivetPressStroke}" BorderThickness="1,1,0,0" VerticalAlignment="Center" HorizontalAlignment="Center" Opacity="0"/>
                            <Rectangle x:Uid="Rectangle_11" x:Name="Highlight" Margin="1" Stroke="#FFFFFFFF" RadiusX="0.5" RadiusY="0.5" Opacity="0.6" IsHitTestVisible="false" />
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_21" Property="IsFocused" Value="True"/>
                            <Trigger x:Uid="Trigger_22" Property="IsMouseOver" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_20" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_21" Storyboard="{StaticResource HoverOn}"/>
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_23" Property="IsEnabled" Value="False">
                                <Setter x:Uid="Setter_37" Property="Opacity" TargetName="Grid" Value="0"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_24" Property="IsDragging" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_22" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_23" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                                </Trigger.EnterActions>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_9" x:Key="NuclearScrollRepeatButtonStyle" d:IsControlPart="True" TargetType="{x:Type RepeatButton}">
            <Setter x:Uid="Setter_38" Property="Background" Value="Transparent"/>
            <Setter x:Uid="Setter_39" Property="BorderBrush" Value="Transparent"/>
            <Setter x:Uid="Setter_40" Property="IsTabStop" Value="false"/>
            <Setter x:Uid="Setter_41" Property="Focusable" Value="false"/>
            <Setter x:Uid="Setter_42" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_9" TargetType="{x:Type RepeatButton}">
                        <Grid x:Uid="Grid_5">
                            <Rectangle x:Uid="Rectangle_12" Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}"/>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>


        <Style x:Uid="Style_10" TargetType="{x:Type ScrollBar}">
            <Setter x:Uid="Setter_43" Property="Stylus.IsFlicksEnabled" Value="false"/>
            <Setter x:Uid="Setter_44" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
            <Setter x:Uid="Setter_45" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_10" TargetType="{x:Type ScrollBar}">
                        <Grid x:Uid="GridRoot" x:Name="GridRoot" Width="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}">
                            <Grid.RowDefinitions>
                                <RowDefinition x:Uid="RowDefinition_1" MaxHeight="18"/>
                                <RowDefinition x:Uid="RowDefinition_2" Height="0.00001*"/>
                                <RowDefinition x:Uid="RowDefinition_3" MaxHeight="18"/>
                            </Grid.RowDefinitions>
                            <Rectangle x:Uid="Rectangle_13" Grid.RowSpan="5" RadiusX="0" RadiusY="0" StrokeThickness="1" Stroke="#FFF0F0F0" Fill="#FFEFEFEF"/>
                            <RepeatButton x:Uid="DecreaseRepeat" x:Name="DecreaseRepeat" Style="{DynamicResource NuclearRepeatButton}" Command="ScrollBar.LineUpCommand">
                                <Grid x:Uid="Grid_6">
                                    <Path x:Uid="ArrowUp" x:Name="ArrowUp" Height="6" Width="10" Data="F1 M 541.537,173.589L 531.107,173.589L 536.322,167.49L 541.537,173.589 Z " HorizontalAlignment="Center" VerticalAlignment="Center" Stretch="Uniform" IsHitTestVisible="False">
                                        <Path.Fill>
                                            <LinearGradientBrush x:Uid="LinearGradientBrush_52" EndPoint="0.7,0.75" StartPoint="0.25,0">
                                                <GradientStop x:Uid="GradientStop_146" Color="#CC000000" Offset="0.25"/>
                                                <GradientStop x:Uid="GradientStop_147" Color="#7F000000" Offset="0.75"/>
                                                <GradientStop x:Uid="GradientStop_148" Color="#33000000" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Path.Fill>
                                    </Path>
                                </Grid>
                            </RepeatButton>

                            <Track x:Uid="PART_Track" Grid.Row="1" x:Name="PART_Track" Orientation="Vertical" IsDirectionReversed="true">
                                <Track.Thumb>
                                    <Thumb x:Uid="Thumb_1" Style="{DynamicResource NuclearThumbStyle}"/>
                                </Track.Thumb>
                                <Track.IncreaseRepeatButton>
                                    <RepeatButton x:Uid="PageUp" x:Name="PageUp" Style="{DynamicResource NuclearScrollRepeatButtonStyle}" Command="ScrollBar.PageDownCommand"/>
                                </Track.IncreaseRepeatButton>
                                <Track.DecreaseRepeatButton>
                                    <RepeatButton x:Uid="PageDown" x:Name="PageDown" Style="{DynamicResource NuclearScrollRepeatButtonStyle}" Command="ScrollBar.PageUpCommand"/>
                                </Track.DecreaseRepeatButton>
                            </Track>

                            <RepeatButton x:Uid="IncreaseRepeat" Grid.Row="2" x:Name="IncreaseRepeat" Style="{DynamicResource NuclearRepeatButton}" Command="ScrollBar.LineDownCommand">
                                <Grid x:Uid="Grid_7">
                                    <Path x:Uid="ArrowDown" x:Name="ArrowDown" Grid.Row="4" Height="6" Width="10" Data="F1 M 531.107,321.943L 541.537,321.943L 536.322,328.042L 531.107,321.943 Z " HorizontalAlignment="Center" VerticalAlignment="Center" Stretch="Uniform" IsHitTestVisible="False">
                                        <Path.Fill>
                                            <LinearGradientBrush x:Uid="LinearGradientBrush_53" EndPoint="0.4,1" StartPoint="-0.3,0">
                                                <GradientStop x:Uid="GradientStop_149" Color="#CC000000" Offset="0.25"/>
                                                <GradientStop x:Uid="GradientStop_150" Color="#7F000000" Offset="0.75"/>
                                                <GradientStop x:Uid="GradientStop_151" Color="#33000000" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Path.Fill>
                                    </Path>
                                </Grid>
                            </RepeatButton>
                        </Grid>

                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_25" Property="Orientation" Value="Horizontal">

                                <Setter x:Uid="Setter_46" Property="LayoutTransform" TargetName="GridRoot">
                                    <Setter.Value>
                                        <RotateTransform x:Uid="RotateTransform_1" Angle="-90"/>
                                    </Setter.Value>
                                </Setter>

                                <Setter x:Uid="Setter_47" TargetName="PART_Track" Property="Orientation" Value="Vertical"/>

                                <Setter x:Uid="Setter_48" Property="Command" Value="ScrollBar.LineLeftCommand" TargetName="DecreaseRepeat"/>
                                <Setter x:Uid="Setter_49" Property="Command" Value="ScrollBar.LineRightCommand" TargetName="IncreaseRepeat"/>
                                <Setter x:Uid="Setter_50" Property="Command" Value="ScrollBar.PageLeftCommand" TargetName="PageDown"/>
                                <Setter x:Uid="Setter_51" Property="Command" Value="ScrollBar.PageRightCommand" TargetName="PageUp"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_11" TargetType="{x:Type ScrollViewer}" BasedOn="{x:Null}">
            <Setter x:Uid="Setter_52" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_11" TargetType="{x:Type ScrollViewer}">
                        <Grid x:Uid="Grid_8" Background="{TemplateBinding Background}">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition x:Uid="ColumnDefinition_1" Width="*"/>
                                <ColumnDefinition x:Uid="ColumnDefinition_2" Width="Auto"/>
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition x:Uid="RowDefinition_4" Height="*"/>
                                <RowDefinition x:Uid="RowDefinition_5" Height="Auto"/>
                            </Grid.RowDefinitions>
                            <ScrollContentPresenter x:Uid="ScrollContentPresenter_1" Grid.Column="0" Grid.Row="0" Margin="{TemplateBinding Padding}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" CanContentScroll="{TemplateBinding CanContentScroll}"/>

                            <ScrollBar x:Uid="PART_HorizontalScrollBar" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Grid.Column="0" Grid.Row="1" x:Name="PART_HorizontalScrollBar"   Orientation="Horizontal" Value="{Binding Path=HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportWidth}" Minimum="0" Maximum="{TemplateBinding ScrollableWidth}" AutomationProperties.AutomationId="HorizontalScrollBar"/>
                            <ScrollBar x:Uid="PART_VerticalScrollBar" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Grid.Column="1" Grid.Row="0" x:Name="PART_VerticalScrollBar"   Orientation="Vertical" Value="{Binding Path=VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportHeight}" Minimum="0" Maximum="{TemplateBinding ScrollableHeight}" AutomationProperties.AutomationId="VerticalScrollBar"/>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_12" TargetType="{x:Type ListBox}">
            <Setter x:Uid="Setter_53" Property="SnapsToDevicePixels" Value="true"/>
            <Setter x:Uid="Setter_54" Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
            <Setter x:Uid="Setter_55" Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
            <Setter x:Uid="Setter_56" Property="ScrollViewer.CanContentScroll" Value="True"/>
            <Setter x:Uid="Setter_57" Property="HorizontalContentAlignment" Value="Stretch" />
            <Setter x:Uid="Setter_58" Property="VerticalContentAlignment" Value="Center" />
            <Setter x:Uid="Setter_59" Property="BorderBrush" Value="{StaticResource btnPressStroke2}"/>
            <Setter x:Uid="Setter_60" Property="BorderThickness" Value="1"/>
            <Setter x:Uid="Setter_61" Property="Padding" Value="1"/>
            <Setter x:Uid="Setter_62" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
            <Setter x:Uid="Setter_63" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_12" TargetType="{x:Type ListBox}">
                        <Grid x:Uid="Grid_9">
                            <Border x:Uid="Border_7" BorderThickness="{TemplateBinding BorderThickness}" Background="#FFFFFFFF" BorderBrush="{TemplateBinding BorderBrush}" CornerRadius="2">
                                <ScrollViewer x:Uid="ScrollViewer_1" Margin="1"   Focusable="false" Background="{TemplateBinding Background}">

                                    <StackPanel x:Uid="StackPanel_1" Margin="2" IsItemsHost="true"/>

                                </ScrollViewer>
                            </Border>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_26" Property="IsEnabled" Value="false"/>
                            <Trigger x:Uid="Trigger_27" Property="IsGrouping" Value="true">
                                <Setter x:Uid="Setter_64" Property="ScrollViewer.CanContentScroll" Value="false"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>


        <Style x:Uid="Style_13" d:IsControlPart="True" TargetType="{x:Type ListBoxItem}">
            <Setter x:Uid="Setter_65" Property="SnapsToDevicePixels" Value="true"/>
            <Setter x:Uid="Setter_66" Property="OverridesDefaultStyle" Value="true"/>
            <Setter x:Uid="Setter_67" Property="HorizontalContentAlignment" Value="Stretch" />
            <Setter x:Uid="Setter_68" Property="VerticalContentAlignment" Value="Center" />
            <Setter x:Uid="Setter_69" Property="Padding" Value="3" />
            <Setter x:Uid="Setter_70" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
            <Setter x:Uid="Setter_71" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_13" TargetType="{x:Type ListBoxItem}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_33" x:Key="HoverOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_35" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundGradientOver" Storyboard.TargetProperty="Opacity" To="0.73"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_34" x:Key="HoverOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_36" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundGradientOver" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_35" x:Key="SelectedOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_37" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundGradientSelected" Storyboard.TargetProperty="Opacity" To="0.84"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_38" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundGradientSelectedDisabled" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_36" x:Key="SelectedOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_39" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundGradientSelected" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_40" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundGradientSelectedDisabled" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Grid x:Uid="Grid_10" SnapsToDevicePixels="true">
                            <Rectangle x:Uid="BackgroundGradientOver" x:Name="BackgroundGradientOver" Fill="{StaticResource hoverGradient}" Stroke="{StaticResource hoverStroke}" RadiusX="2" RadiusY="2" Opacity="0"/>
                            <Rectangle x:Uid="BackgroundGradientSelectedDisabled" x:Name="BackgroundGradientSelectedDisabled" Fill="{StaticResource grayGradient}" Stroke="#7F8E8F8F" RadiusX="2" RadiusY="2" Opacity="0"/>
                            <Rectangle x:Uid="BackgroundGradientSelected" x:Name="BackgroundGradientSelected" Fill="{StaticResource BtnOverFill}" Stroke="{StaticResource selectedStroke}" RadiusX="2" RadiusY="2" Opacity="0"/>
                            <Rectangle x:Uid="BackgroundHighlight" x:Name="BackgroundHighlight" Margin="1" Stroke="#A0FFFFFF" RadiusX="1" RadiusY="1"/>
                            <ContentPresenter
	                        	x:Uid="ContentPresenter_3" x:Name="contentPresenter"
	                        	Content="{TemplateBinding Content}"
	                        	ContentTemplate="{TemplateBinding ContentTemplate}"
	                        	HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
	                        	Margin="{TemplateBinding Padding}"/>
                        </Grid>
                        <ControlTemplate.Triggers>

                            <Trigger x:Uid="Trigger_28" Property="IsSelected" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="SelectedOff_BeginStoryboard" Storyboard="{StaticResource SelectedOff}" x:Name="SelectedOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="SelectedOn_BeginStoryboard" Storyboard="{StaticResource SelectedOn}" x:Name="SelectedOn_BeginStoryboard"/>
                                </Trigger.EnterActions>

                            </Trigger>
                            <Trigger x:Uid="Trigger_29" Property="IsMouseOver" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_24" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_25" Storyboard="{StaticResource HoverOn}"/>
                                </Trigger.EnterActions>
                            </Trigger>

                            <Trigger x:Uid="Trigger_30" Property="IsEnabled" Value="false">
                                <Setter x:Uid="Setter_72" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                                <Setter x:Uid="Setter_73" Property="Visibility" TargetName="BackgroundGradientSelected" Value="Hidden"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_14" x:Key="ExpanderHeaderFocusVisual">
            <Setter x:Uid="Setter_74" Property="Control.Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_14">
                        <Border x:Uid="Border_8">
                            <Rectangle x:Uid="Rectangle_14" SnapsToDevicePixels="true" Margin="0" Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1" />
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_15" x:Key="ExpanderDownHeaderStyle" TargetType="{x:Type ToggleButton}">
            <Setter x:Uid="Setter_75" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_15" TargetType="{x:Type ToggleButton}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_37" x:Key="HoverOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_41" Duration="00:00:00.1000000" Storyboard.TargetName="circleOver1" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_42" Duration="00:00:00.1000000" Storyboard.TargetName="circleOver2" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_43" Duration="00:00:00.1000000" Storyboard.TargetName="circleOver3" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_44" Duration="00:00:00.1000000" Storyboard.TargetName="HoverBackground" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_38" x:Key="HoverOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_45" Duration="00:00:00.4000000" Storyboard.TargetName="circleOver1" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_46" Duration="00:00:00.4000000" Storyboard.TargetName="circleOver2" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_47" Duration="00:00:00.4000000" Storyboard.TargetName="circleOver3" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_48" Duration="00:00:00.4000000" Storyboard.TargetName="HoverBackground" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_39" x:Key="PressedOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_49" Duration="00:00:00.1000000" Storyboard.TargetName="circlePress1" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_50" Duration="00:00:00.1000000" Storyboard.TargetName="circlePress2" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_51" Duration="00:00:00.1000000" Storyboard.TargetName="circlePress3" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_52" Duration="00:00:00.1000000" Storyboard.TargetName="HoverBackground1" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_40" x:Key="PressedOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_53" Duration="00:00:00.4000000" Storyboard.TargetName="circlePress1" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_54" Duration="00:00:00.4000000" Storyboard.TargetName="circlePress2" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_55" Duration="00:00:00.4000000" Storyboard.TargetName="circlePress3" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_56" Duration="00:00:00.4000000" Storyboard.TargetName="HoverBackground1" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_41" x:Key="CheckedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_29" BeginTime="00:00:00.1000000" Duration="00:00:00.0010000" Storyboard.TargetName="arrowDown" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_29" KeyTime="00:00:00" Value="-1"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_30" BeginTime="00:00:00.1000000" Duration="00:00:00.0010000" Storyboard.TargetName="HoverBackground2" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_30" KeyTime="00:00:00" Value="-1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_42" x:Key="CheckedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_31" BeginTime="00:00:00.4000000" Duration="00:00:00.0010000" Storyboard.TargetName="arrowDown" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_31" KeyTime="00:00:00" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_32" BeginTime="00:00:00.4000000" Duration="00:00:00.0010000" Storyboard.TargetName="HoverBackground2" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_32" KeyTime="00:00:00" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_43" x:Key="FocusedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_33" BeginTime="00:00:00" Storyboard.TargetName="FocusBackground" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_33" KeyTime="00:00:00.1000000" Value="0.84"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_44" x:Key="FocusedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_34" BeginTime="00:00:00" Storyboard.TargetName="FocusBackground" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_34" KeyTime="00:00:00.4000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Grid x:Uid="Grid_11">
                            <Rectangle x:Uid="HoverBackground" x:Name="HoverBackground" Fill="{StaticResource hoverGradient}" Stroke="{StaticResource hoverStroke}" RadiusX="2" RadiusY="2" Opacity="0" RenderTransformOrigin="0.5,0.5">
                                <Rectangle.RenderTransform>
                                    <TransformGroup x:Uid="TransformGroup_1">
                                        <ScaleTransform x:Uid="ScaleTransform_1"/>
                                        <SkewTransform x:Uid="SkewTransform_1"/>
                                        <RotateTransform x:Uid="RotateTransform_2"/>
                                        <TranslateTransform x:Uid="TranslateTransform_1"/>
                                    </TransformGroup>
                                </Rectangle.RenderTransform>
                            </Rectangle>
                            <Rectangle x:Uid="HoverBackground1" x:Name="HoverBackground1" Fill="{StaticResource hoverGradient}" Stroke="{StaticResource hoverStroke}" RadiusX="2" RadiusY="2" Opacity="0" RenderTransformOrigin="0.5,0.5">
                                <Rectangle.RenderTransform>
                                    <TransformGroup x:Uid="TransformGroup_2">
                                        <ScaleTransform x:Uid="ScaleTransform_2"/>
                                        <SkewTransform x:Uid="SkewTransform_2"/>
                                        <RotateTransform x:Uid="RotateTransform_3"/>
                                        <TranslateTransform x:Uid="TranslateTransform_2"/>
                                    </TransformGroup>
                                </Rectangle.RenderTransform>
                            </Rectangle>
                            <Rectangle x:Uid="HoverBackground2" x:Name="HoverBackground2" Fill="{StaticResource hoverGradient}" Stroke="{StaticResource hoverStroke}" RadiusX="2" RadiusY="2" Opacity="0" RenderTransformOrigin="0.5,0.5">
                                <Rectangle.RenderTransform>
                                    <TransformGroup x:Uid="TransformGroup_3">
                                        <ScaleTransform x:Uid="ScaleTransform_3"/>
                                        <SkewTransform x:Uid="SkewTransform_3"/>
                                        <RotateTransform x:Uid="RotateTransform_4"/>
                                        <TranslateTransform x:Uid="TranslateTransform_3"/>
                                    </TransformGroup>
                                </Rectangle.RenderTransform>
                            </Rectangle>
                            <Grid x:Uid="Grid_12" Margin="{TemplateBinding Padding}">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition x:Uid="ColumnDefinition_3" Width="18"/>
                                    <ColumnDefinition x:Uid="ColumnDefinition_4" Width="*"/>
                                </Grid.ColumnDefinitions>
                                <Grid x:Uid="Grid_13" Height="18" HorizontalAlignment="Left" VerticalAlignment="Top">
                                    <Ellipse x:Uid="circleOver1" x:Name="circleOver1" Height="18" Width="18" Fill="{StaticResource ExpanderArrowHoverFill1}" Stroke="#00000000" Opacity="0"/>
                                    <Ellipse x:Uid="circleOver2" x:Name="circleOver2" Height="18" Width="18" Fill="{StaticResource ExpanderArrowHoverFill2}" Stroke="#00000000" Opacity="0"/>
                                    <Ellipse x:Uid="circleOver3" x:Name="circleOver3" Height="18" Width="18" Fill="{StaticResource ExpanderArrowHoverFill3}" Stroke="{StaticResource expanderArrowStroke}" Opacity="0"/>
                                    <Ellipse x:Uid="circlePress1" x:Name="circlePress1" Height="18" Width="18" Fill="{StaticResource ExpanderArrowPressedFill1}" Stroke="#00000000" Opacity="0"/>
                                    <Ellipse x:Uid="circlePress2" x:Name="circlePress2" Height="18" Width="18" Fill="{StaticResource ExpanderArrowPressedFill2}" Stroke="#00000000" Opacity="0"/>
                                    <Ellipse x:Uid="circlePress3" x:Name="circlePress3" Height="18" Width="18" Fill="{StaticResource ExpanderArrowPressedFill3}" Stroke="{StaticResource expanderArrowStroke}" Opacity="0"/>
                                    <Path x:Uid="arrowDown" x:Name="arrowDown" Stroke="{StaticResource ButtonFontColor}" StrokeThickness="2" Data="M 1,1.5 L 4.5,5 L 8,1.5" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5,0.5">
                                        <Path.RenderTransform>
                                            <TransformGroup x:Uid="TransformGroup_4">
                                                <ScaleTransform x:Uid="ScaleTransform_4"/>
                                                <SkewTransform x:Uid="SkewTransform_4"/>
                                                <RotateTransform x:Uid="RotateTransform_5"/>
                                                <TranslateTransform x:Uid="TranslateTransform_4"/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                </Grid>
                                <ContentPresenter x:Uid="header" x:Name="header" Margin="4,0,0,0" Grid.Column="1" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" HorizontalAlignment="Left" VerticalAlignment="Center" IsHitTestVisible="false"/>
                            </Grid>
                            <Rectangle x:Uid="FocusBackground" x:Name="FocusBackground" Stroke="{StaticResource selectedStroke}" RadiusX="2" RadiusY="2" IsHitTestVisible="false" Opacity="0"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_31" Property="IsFocused" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_26" Storyboard="{StaticResource FocusedOff}" x:Name="FocusedOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_27" Storyboard="{StaticResource FocusedOn}" x:Name="FocusedOn_BeginStoryboard"/>
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_32" Property="IsChecked" Value="true">

                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_28" x:Name="CheckedOff_BeginStoryboard" Storyboard="{StaticResource CheckedOff}"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_29" x:Name="CheckedOn_BeginStoryboard" Storyboard="{StaticResource CheckedOn}"/>
                                </Trigger.EnterActions>

                            </Trigger>
                            <Trigger x:Uid="Trigger_33" Property="IsMouseOver" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_30" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_31" Storyboard="{StaticResource HoverOn}"/>
                                </Trigger.EnterActions>


                            </Trigger>
                            <Trigger x:Uid="Trigger_34" Property="IsPressed" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_32" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_33" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                                </Trigger.EnterActions>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_16" x:Key="ExpanderRightHeaderStyle" TargetType="{x:Type ToggleButton}">
            <Setter x:Uid="Setter_76" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_16" TargetType="{x:Type ToggleButton}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_45" x:Key="HoverOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_57" Duration="00:00:00.1000000" Storyboard.TargetName="circleOver1" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_58" Duration="00:00:00.1000000" Storyboard.TargetName="circleOver2" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_59" Duration="00:00:00.1000000" Storyboard.TargetName="circleOver3" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_60" Duration="00:00:00.1000000" Storyboard.TargetName="HoverBackground" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_46" x:Key="HoverOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_61" Duration="00:00:00.4000000" Storyboard.TargetName="circleOver1" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_62" Duration="00:00:00.4000000" Storyboard.TargetName="circleOver2" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_63" Duration="00:00:00.4000000" Storyboard.TargetName="circleOver3" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_64" Duration="00:00:00.4000000" Storyboard.TargetName="HoverBackground" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_47" x:Key="PressedOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_65" Duration="00:00:00.1000000" Storyboard.TargetName="circlePress1" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_66" Duration="00:00:00.1000000" Storyboard.TargetName="circlePress2" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_67" Duration="00:00:00.1000000" Storyboard.TargetName="circlePress3" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_68" Duration="00:00:00.1000000" Storyboard.TargetName="HoverBackground1" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_48" x:Key="PressedOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_69" Duration="00:00:00.4000000" Storyboard.TargetName="circlePress1" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_70" Duration="00:00:00.4000000" Storyboard.TargetName="circlePress2" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_71" Duration="00:00:00.4000000" Storyboard.TargetName="circlePress3" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_72" Duration="00:00:00.4000000" Storyboard.TargetName="HoverBackground1" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_49" x:Key="CheckedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_35" BeginTime="00:00:00" Duration="00:00:00.1000000" Storyboard.TargetName="arrowRight" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_35" KeyTime="00:00:00" Value="90"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_36" BeginTime="00:00:00" Duration="00:00:00.1000000" Storyboard.TargetName="HoverBackground2" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_36" KeyTime="00:00:00" Value="-1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_50" x:Key="CheckedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_37" BeginTime="00:00:00" Duration="00:00:00.4000000" Storyboard.TargetName="arrowRight" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_37" KeyTime="00:00:00" Value="-90"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_38" BeginTime="00:00:00" Duration="00:00:00.4000000" Storyboard.TargetName="HoverBackground2" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_38" KeyTime="00:00:00" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_51" x:Key="FocusedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_39" BeginTime="00:00:00" Storyboard.TargetName="FocusBackground" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_39" KeyTime="00:00:00.1000000" Value="0.84"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_52" x:Key="FocusedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_40" BeginTime="00:00:00" Storyboard.TargetName="FocusBackground" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_40" KeyTime="00:00:00.4000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Grid x:Uid="Grid_14">
                            <Rectangle x:Uid="Rectangle_15" x:Name="HoverBackground" Fill="{StaticResource hoverGradientVertical}" Stroke="{StaticResource hoverStroke}" RadiusX="2" RadiusY="2" Opacity="0" RenderTransformOrigin="0.5,0.5">
                                <Rectangle.RenderTransform>
                                    <TransformGroup x:Uid="TransformGroup_5">
                                        <ScaleTransform x:Uid="ScaleTransform_5"/>
                                        <SkewTransform x:Uid="SkewTransform_5"/>
                                        <RotateTransform x:Uid="RotateTransform_6"/>
                                        <TranslateTransform x:Uid="TranslateTransform_5"/>
                                    </TransformGroup>
                                </Rectangle.RenderTransform>
                            </Rectangle>

                            <Rectangle x:Uid="Rectangle_16" x:Name="HoverBackground1" Fill="{StaticResource hoverGradientVertical}" Stroke="{StaticResource hoverStroke}" RadiusX="2" RadiusY="2" Opacity="0" RenderTransformOrigin="0.5,0.5">
                                <Rectangle.RenderTransform>
                                    <TransformGroup x:Uid="TransformGroup_6">
                                        <ScaleTransform x:Uid="ScaleTransform_6"/>
                                        <SkewTransform x:Uid="SkewTransform_6"/>
                                        <RotateTransform x:Uid="RotateTransform_7"/>
                                        <TranslateTransform x:Uid="TranslateTransform_6"/>
                                    </TransformGroup>
                                </Rectangle.RenderTransform>
                            </Rectangle>

                            <Rectangle x:Uid="Rectangle_17" x:Name="HoverBackground2" Fill="{StaticResource hoverGradientVertical}" Stroke="{StaticResource hoverStroke}" RadiusX="2" RadiusY="2" Opacity="0" RenderTransformOrigin="0.5,0.5">
                                <Rectangle.RenderTransform>
                                    <TransformGroup x:Uid="TransformGroup_7">
                                        <ScaleTransform x:Uid="ScaleTransform_7"/>
                                        <SkewTransform x:Uid="SkewTransform_7"/>
                                        <RotateTransform x:Uid="RotateTransform_8"/>
                                        <TranslateTransform x:Uid="TranslateTransform_7"/>
                                    </TransformGroup>
                                </Rectangle.RenderTransform>
                            </Rectangle>



                            <Grid x:Uid="Grid_15" SnapsToDevicePixels="False" Background="Transparent">
                                <Grid.RowDefinitions>
                                    <RowDefinition x:Uid="RowDefinition_6" Height="18"/>
                                    <RowDefinition x:Uid="RowDefinition_7" Height="*"/>
                                </Grid.RowDefinitions>
                                <Grid x:Uid="Grid_16">
                                    <Grid.LayoutTransform>
                                        <TransformGroup x:Uid="TransformGroup_8">
                                            <ScaleTransform x:Uid="ScaleTransform_8" ScaleX="1" ScaleY="1"/>
                                            <SkewTransform x:Uid="SkewTransform_8" AngleX="0" AngleY="0"/>
                                            <RotateTransform x:Uid="RotateTransform_9" Angle="0"/>
                                            <TranslateTransform x:Uid="TranslateTransform_8" X="0" Y="0"/>
                                        </TransformGroup>
                                    </Grid.LayoutTransform>
                                    <Ellipse x:Uid="Ellipse_5" x:Name="circleOver1" Width="18" Height="18" Fill="{StaticResource ExpanderArrowHoverFill1}" Stroke="#00000000" Opacity="0"/>
                                    <Ellipse x:Uid="Ellipse_6" x:Name="circleOver2" Width="18" Height="18" Fill="{StaticResource ExpanderArrowHoverFill2}" Stroke="#00000000" Opacity="0"/>
                                    <Ellipse x:Uid="Ellipse_7" x:Name="circleOver3" Width="18" Height="18" Fill="{StaticResource ExpanderArrowHoverFill3}" Stroke="{StaticResource expanderArrowStroke}" Opacity="0"/>
                                    <Ellipse x:Uid="Ellipse_8" x:Name="circlePress1" Width="18" Height="18" Fill="{StaticResource ExpanderArrowPressedFill1}" Stroke="#00000000" Opacity="0"/>
                                    <Ellipse x:Uid="Ellipse_9" x:Name="circlePress2" Width="18" Height="18" Fill="{StaticResource ExpanderArrowPressedFill2}" Stroke="#00000000" Opacity="0"/>
                                    <Ellipse x:Uid="Ellipse_10" x:Name="circlePress3" Width="18" Height="18" Fill="{StaticResource ExpanderArrowPressedFill3}" Stroke="{StaticResource expanderArrowStroke}" Opacity="0"/>
                                    <Path x:Uid="arrowRight" x:Name="arrowRight" Stroke="{StaticResource ButtonFontColor}" StrokeThickness="2" Data="M 1,1.5 L 4.5,5 L 8,1.5" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5,0.5">
                                        <Path.RenderTransform>
                                            <TransformGroup x:Uid="TransformGroup_9">
                                                <ScaleTransform x:Uid="ScaleTransform_9"/>
                                                <SkewTransform x:Uid="SkewTransform_9"/>
                                                <RotateTransform x:Uid="RotateTransform_10" Angle="-90"/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                </Grid>
                                <ContentPresenter x:Uid="ContentPresenter_4" SnapsToDevicePixels="True" HorizontalAlignment="Center" Margin="6,4,6,0" VerticalAlignment="Top" Grid.Row="1" RecognizesAccessKey="True">
                                    <ContentPresenter.LayoutTransform>
                                        <TransformGroup x:Uid="TransformGroup_10">
                                            <TransformGroup.Children>
                                                <TransformCollection x:Uid="TransformCollection_1">
                                                    <RotateTransform x:Uid="RotateTransform_11" Angle="-90" />
                                                </TransformCollection>
                                            </TransformGroup.Children>
                                        </TransformGroup>
                                    </ContentPresenter.LayoutTransform>
                                </ContentPresenter>
                                <Rectangle x:Uid="Rectangle_18" x:Name="FocusBackground" Stroke="{StaticResource selectedStroke}" RadiusX="2" RadiusY="2" IsHitTestVisible="false" Opacity="0" Grid.RowSpan="2" />
                            </Grid>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_35" Property="IsFocused" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_34" Storyboard="{StaticResource FocusedOff}" />
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_35" Storyboard="{StaticResource FocusedOn}" />
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_36" Property="IsChecked" Value="true">

                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_36" x:Name="CheckedOff_BeginStoryboard" Storyboard="{StaticResource CheckedOff}"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_37" x:Name="CheckedOn_BeginStoryboard" Storyboard="{StaticResource CheckedOn}"/>
                                </Trigger.EnterActions>

                            </Trigger>
                            <Trigger x:Uid="Trigger_37" Property="IsMouseOver" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_38" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="HoverOn_BeginStoryboard" Storyboard="{StaticResource HoverOn}" x:Name="HoverOn_BeginStoryboard"/>
                                </Trigger.EnterActions>


                            </Trigger>
                            <Trigger x:Uid="Trigger_38" Property="IsPressed" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_39" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_40" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                                </Trigger.EnterActions>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Uid="Style_17" x:Key="ExpanderUpHeaderStyle" TargetType="{x:Type ToggleButton}">
            <Setter x:Uid="Setter_77" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_17" TargetType="{x:Type ToggleButton}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_53" x:Key="HoverOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_73" Duration="00:00:00.1000000" Storyboard.TargetName="circleOver1" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_74" Duration="00:00:00.1000000" Storyboard.TargetName="circleOver2" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_75" Duration="00:00:00.1000000" Storyboard.TargetName="circleOver3" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_76" Duration="00:00:00.1000000" Storyboard.TargetName="HoverBackground" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_54" x:Key="HoverOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_77" Duration="00:00:00.4000000" Storyboard.TargetName="circleOver1" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_78" Duration="00:00:00.4000000" Storyboard.TargetName="circleOver2" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_79" Duration="00:00:00.4000000" Storyboard.TargetName="circleOver3" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_80" Duration="00:00:00.4000000" Storyboard.TargetName="HoverBackground" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_55" x:Key="PressedOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_81" Duration="00:00:00.1000000" Storyboard.TargetName="circlePress1" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_82" Duration="00:00:00.1000000" Storyboard.TargetName="circlePress2" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_83" Duration="00:00:00.1000000" Storyboard.TargetName="circlePress3" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_84" Duration="00:00:00.1000000" Storyboard.TargetName="HoverBackground1" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_56" x:Key="PressedOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_85" Duration="00:00:00.4000000" Storyboard.TargetName="circlePress1" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_86" Duration="00:00:00.4000000" Storyboard.TargetName="circlePress2" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_87" Duration="00:00:00.4000000" Storyboard.TargetName="circlePress3" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_88" Duration="00:00:00.4000000" Storyboard.TargetName="HoverBackground1" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_57" x:Key="CheckedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_41" BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="arrowUp" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_41" KeyTime="00:00:00" Value="-1"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_42" BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="HoverBackground2" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_42" KeyTime="00:00:00" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_58" x:Key="CheckedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_43" BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="arrowUp" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_43" KeyTime="00:00:00" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_44" BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="HoverBackground2" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_44" KeyTime="00:00:00" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_59" x:Key="FocusedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_45" BeginTime="00:00:00" Storyboard.TargetName="FocusBackground" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_45" KeyTime="00:00:00.1000000" Value="0.84"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_60" x:Key="FocusedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_46" BeginTime="00:00:00" Storyboard.TargetName="FocusBackground" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_46" KeyTime="00:00:00.4000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Grid x:Uid="Grid_17">
                            <Rectangle x:Uid="Rectangle_19" x:Name="HoverBackground" Fill="{StaticResource hoverGradient}" Stroke="{StaticResource hoverStroke}" RadiusX="2" RadiusY="2" Opacity="0" RenderTransformOrigin="0.5,0.5">
                                <Rectangle.RenderTransform>
                                    <TransformGroup x:Uid="TransformGroup_11">
                                        <ScaleTransform x:Uid="ScaleTransform_10" ScaleY="-1"/>
                                        <SkewTransform x:Uid="SkewTransform_10"/>
                                        <RotateTransform x:Uid="RotateTransform_12"/>
                                        <TranslateTransform x:Uid="TranslateTransform_9"/>
                                    </TransformGroup>
                                </Rectangle.RenderTransform>
                            </Rectangle>
                            <Rectangle x:Uid="Rectangle_20" x:Name="HoverBackground1" Fill="{StaticResource hoverGradient}" Stroke="{StaticResource hoverStroke}" RadiusX="2" RadiusY="2" Opacity="0" RenderTransformOrigin="0.5,0.5">
                                <Rectangle.RenderTransform>
                                    <TransformGroup x:Uid="TransformGroup_12">
                                        <ScaleTransform x:Uid="ScaleTransform_11" ScaleY="-1"/>
                                        <SkewTransform x:Uid="SkewTransform_11"/>
                                        <RotateTransform x:Uid="RotateTransform_13"/>
                                        <TranslateTransform x:Uid="TranslateTransform_10"/>
                                    </TransformGroup>
                                </Rectangle.RenderTransform>
                            </Rectangle>
                            <Rectangle x:Uid="Rectangle_21" x:Name="HoverBackground2" Fill="{StaticResource hoverGradient}" Stroke="{StaticResource hoverStroke}" RadiusX="2" RadiusY="2" Opacity="0" RenderTransformOrigin="0.5,0.5">
                                <Rectangle.RenderTransform>
                                    <TransformGroup x:Uid="TransformGroup_13">
                                        <ScaleTransform x:Uid="ScaleTransform_12" ScaleY="-1"/>
                                        <SkewTransform x:Uid="SkewTransform_12"/>
                                        <RotateTransform x:Uid="RotateTransform_14"/>
                                        <TranslateTransform x:Uid="TranslateTransform_11"/>
                                    </TransformGroup>
                                </Rectangle.RenderTransform>
                            </Rectangle>
                            <Grid x:Uid="Grid_18" Margin="{TemplateBinding Padding}">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition x:Uid="ColumnDefinition_5" Width="18"/>
                                    <ColumnDefinition x:Uid="ColumnDefinition_6" Width="*"/>
                                </Grid.ColumnDefinitions>
                                <Grid x:Uid="Grid_19" Height="18" HorizontalAlignment="Left" VerticalAlignment="Top">
                                    <Grid.LayoutTransform>
                                        <TransformGroup x:Uid="TransformGroup_14">
                                            <TransformGroup.Children>
                                                <TransformCollection x:Uid="TransformCollection_2">
                                                    <RotateTransform x:Uid="RotateTransform_15" Angle="180" />
                                                </TransformCollection>
                                            </TransformGroup.Children>
                                        </TransformGroup>
                                    </Grid.LayoutTransform>
                                    <Ellipse x:Uid="Ellipse_11" x:Name="circleOver1" Width="18" Height="18" Fill="{StaticResource ExpanderArrowHoverFill1}" Stroke="#00000000" Opacity="0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                    <Ellipse x:Uid="Ellipse_12" x:Name="circleOver2" Width="18" Height="18" Fill="{StaticResource ExpanderArrowHoverFill2}" Stroke="#00000000" Opacity="0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                    <Ellipse x:Uid="Ellipse_13" x:Name="circleOver3" Width="18" Height="18" Fill="{StaticResource ExpanderArrowHoverFill3}" Stroke="{StaticResource expanderArrowStroke}" Opacity="0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                    <Ellipse x:Uid="Ellipse_14" x:Name="circlePress1" Width="18" Height="18" Fill="{StaticResource ExpanderArrowPressedFill1}" Stroke="#00000000" Opacity="0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                    <Ellipse x:Uid="Ellipse_15" x:Name="circlePress2" Width="18" Height="18" Fill="{StaticResource ExpanderArrowPressedFill2}" Stroke="#00000000" Opacity="0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                    <Ellipse x:Uid="Ellipse_16" x:Name="circlePress3" Width="18" Height="18" Fill="{StaticResource ExpanderArrowPressedFill3}" Stroke="{StaticResource expanderArrowStroke}" Opacity="0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                    <Path x:Uid="arrowUp" x:Name="arrowUp" Stroke="{StaticResource ButtonFontColor}" StrokeThickness="2" Data="M 1,1.5 L 4.5,5 L 8,1.5" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5,0.5">
                                        <Path.RenderTransform>
                                            <TransformGroup x:Uid="TransformGroup_15">
                                                <ScaleTransform x:Uid="ScaleTransform_13" ScaleY="-1"/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                </Grid>
                                <ContentPresenter x:Uid="ContentPresenter_5" SnapsToDevicePixels="True" HorizontalAlignment="Left" Margin="4,2,0,2" VerticalAlignment="Center" Grid.Column="1" RecognizesAccessKey="True" />
                            </Grid>
                            <Rectangle x:Uid="Rectangle_22" x:Name="FocusBackground" Stroke="{StaticResource selectedStroke}" RadiusX="2" RadiusY="2" IsHitTestVisible="false" Opacity="0"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_39" Property="IsFocused" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_41" Storyboard="{StaticResource FocusedOff}" />
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_42" Storyboard="{StaticResource FocusedOn}" />
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_40" Property="IsChecked" Value="true">

                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_43" x:Name="CheckedOff_BeginStoryboard" Storyboard="{StaticResource CheckedOff}"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_44" x:Name="CheckedOn_BeginStoryboard" Storyboard="{StaticResource CheckedOn}"/>
                                </Trigger.EnterActions>

                            </Trigger>
                            <Trigger x:Uid="Trigger_41" Property="IsMouseOver" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_45" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_46" Storyboard="{StaticResource HoverOn}" x:Name="HoverOn_BeginStoryboard"/>
                                </Trigger.EnterActions>


                            </Trigger>
                            <Trigger x:Uid="Trigger_42" Property="IsPressed" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_47" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_48" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                                </Trigger.EnterActions>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Uid="Style_18" x:Key="ExpanderLeftHeaderStyle" TargetType="{x:Type ToggleButton}">
            <Setter x:Uid="Setter_78" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_18" TargetType="{x:Type ToggleButton}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_61" x:Key="HoverOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_89" Duration="00:00:00.1000000" Storyboard.TargetName="circleOver1" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_90" Duration="00:00:00.1000000" Storyboard.TargetName="circleOver2" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_91" Duration="00:00:00.1000000" Storyboard.TargetName="circleOver3" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_92" Duration="00:00:00.1000000" Storyboard.TargetName="HoverBackground" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_62" x:Key="HoverOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_93" Duration="00:00:00.4000000" Storyboard.TargetName="circleOver1" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_94" Duration="00:00:00.4000000" Storyboard.TargetName="circleOver2" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_95" Duration="00:00:00.4000000" Storyboard.TargetName="circleOver3" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_96" Duration="00:00:00.4000000" Storyboard.TargetName="HoverBackground" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_63" x:Key="PressedOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_97" Duration="00:00:00.1000000" Storyboard.TargetName="circlePress1" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_98" Duration="00:00:00.1000000" Storyboard.TargetName="circlePress2" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_99" Duration="00:00:00.1000000" Storyboard.TargetName="circlePress3" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_100" Duration="00:00:00.1000000" Storyboard.TargetName="HoverBackground1" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_64" x:Key="PressedOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_101" Duration="00:00:00.4000000" Storyboard.TargetName="circlePress1" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_102" Duration="00:00:00.4000000" Storyboard.TargetName="circlePress2" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_103" Duration="00:00:00.4000000" Storyboard.TargetName="circlePress3" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_104" Duration="00:00:00.4000000" Storyboard.TargetName="HoverBackground1" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_65" x:Key="CheckedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_47" BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="arrowLeft" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_47" KeyTime="00:00:00" Value="-1"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_48" BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="arrowLeft" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_48" KeyTime="00:00:00" Value="-90"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_49" BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="HoverBackground2" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_49" KeyTime="00:00:00" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_66" x:Key="CheckedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_50" BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="arrowLeft" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_50" KeyTime="00:00:00" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_51" BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="arrowLeft" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_51" KeyTime="00:00:00" Value="90"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_52" BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="HoverBackground2" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_52" KeyTime="00:00:00" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_67" x:Key="FocusedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_53" BeginTime="00:00:00" Storyboard.TargetName="FocusBackground" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_53" KeyTime="00:00:00.1000000" Value="0.84"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_68" x:Key="FocusedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_54" BeginTime="00:00:00" Storyboard.TargetName="FocusBackground" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_54" KeyTime="00:00:00.4000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Grid x:Uid="Grid_20">
                            <Rectangle x:Uid="Rectangle_23" x:Name="HoverBackground" Fill="{StaticResource hoverGradientVertical}" Stroke="{StaticResource hoverStroke}" RadiusX="2" RadiusY="2" Opacity="0" RenderTransformOrigin="0.5,0.5">
                                <Rectangle.RenderTransform>
                                    <TransformGroup x:Uid="TransformGroup_16">
                                        <ScaleTransform x:Uid="ScaleTransform_14" ScaleX="-1"/>
                                        <SkewTransform x:Uid="SkewTransform_13"/>
                                        <RotateTransform x:Uid="RotateTransform_16"/>
                                        <TranslateTransform x:Uid="TranslateTransform_12"/>
                                    </TransformGroup>
                                </Rectangle.RenderTransform>
                            </Rectangle>
                            <Rectangle x:Uid="Rectangle_24" x:Name="HoverBackground1" Fill="{StaticResource hoverGradientVertical}" Stroke="{StaticResource hoverStroke}" RadiusX="2" RadiusY="2" Opacity="0" RenderTransformOrigin="0.5,0.5">
                                <Rectangle.RenderTransform>
                                    <TransformGroup x:Uid="TransformGroup_17">
                                        <ScaleTransform x:Uid="ScaleTransform_15" ScaleX="-1"/>
                                        <SkewTransform x:Uid="SkewTransform_14"/>
                                        <RotateTransform x:Uid="RotateTransform_17"/>
                                        <TranslateTransform x:Uid="TranslateTransform_13"/>
                                    </TransformGroup>
                                </Rectangle.RenderTransform>
                            </Rectangle>
                            <Rectangle x:Uid="Rectangle_25" x:Name="HoverBackground2" Fill="{StaticResource hoverGradientVertical}" Stroke="{StaticResource hoverStroke}" RadiusX="2" RadiusY="2" Opacity="0" RenderTransformOrigin="0.5,0.5">
                                <Rectangle.RenderTransform>
                                    <TransformGroup x:Uid="TransformGroup_18">
                                        <ScaleTransform x:Uid="ScaleTransform_16" ScaleX="-1"/>
                                        <SkewTransform x:Uid="SkewTransform_15"/>
                                        <RotateTransform x:Uid="RotateTransform_18"/>
                                        <TranslateTransform x:Uid="TranslateTransform_14"/>
                                    </TransformGroup>
                                </Rectangle.RenderTransform>
                            </Rectangle>
                            <Grid x:Uid="Grid_21" Margin="{TemplateBinding Padding}">
                                <Grid.RowDefinitions>
                                    <RowDefinition x:Uid="RowDefinition_8" Height="18"/>
                                    <RowDefinition x:Uid="RowDefinition_9" Height="*"/>
                                </Grid.RowDefinitions>
                                <Grid x:Uid="Grid_22" Width="18" HorizontalAlignment="Center" VerticalAlignment="Top">
                                    <Grid.LayoutTransform>
                                        <TransformGroup x:Uid="TransformGroup_19">
                                            <ScaleTransform x:Uid="ScaleTransform_17" ScaleX="1" ScaleY="1"/>
                                            <SkewTransform x:Uid="SkewTransform_16" AngleX="0" AngleY="0"/>
                                            <RotateTransform x:Uid="RotateTransform_19" Angle="0"/>
                                            <TranslateTransform x:Uid="TranslateTransform_15" X="0" Y="0"/>
                                        </TransformGroup>
                                    </Grid.LayoutTransform>
                                    <Ellipse x:Uid="Ellipse_17" x:Name="circleOver1" Width="18" Height="18" Fill="{StaticResource ExpanderArrowHoverFill1}" Stroke="#00000000" Opacity="0"/>
                                    <Ellipse x:Uid="Ellipse_18" x:Name="circleOver2" Width="18" Height="18" Fill="{StaticResource ExpanderArrowHoverFill2}" Stroke="#00000000" Opacity="0"/>
                                    <Ellipse x:Uid="Ellipse_19" x:Name="circleOver3" Width="18" Height="18" Fill="{StaticResource ExpanderArrowHoverFill3}" Stroke="{StaticResource expanderArrowStroke}" Opacity="0"/>
                                    <Ellipse x:Uid="Ellipse_20" x:Name="circlePress1" Width="18" Height="18" Fill="{StaticResource ExpanderArrowPressedFill1}" Stroke="#00000000" Opacity="0"/>
                                    <Ellipse x:Uid="Ellipse_21" x:Name="circlePress2" Width="18" Height="18" Fill="{StaticResource ExpanderArrowPressedFill2}" Stroke="#00000000" Opacity="0"/>
                                    <Ellipse x:Uid="Ellipse_22" x:Name="circlePress3" Width="18" Height="18" Fill="{StaticResource ExpanderArrowPressedFill3}" Stroke="{StaticResource expanderArrowStroke}" Opacity="0"/>
                                    <Path x:Uid="arrowLeft" x:Name="arrowLeft" Stroke="{StaticResource ButtonFontColor}" StrokeThickness="2" Data="M 1,1.5 L 4.5,5 L 8,1.5" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5,0.5">
                                        <Path.RenderTransform>
                                            <TransformGroup x:Uid="TransformGroup_20">
                                                <ScaleTransform x:Uid="ScaleTransform_18"/>
                                                <SkewTransform x:Uid="SkewTransform_17"/>
                                                <RotateTransform x:Uid="RotateTransform_20" Angle="90"/>
                                                <TranslateTransform x:Uid="TranslateTransform_16"/>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                </Grid>
                                <ContentPresenter x:Uid="ContentPresenter_6" SnapsToDevicePixels="True" HorizontalAlignment="Center" Margin="3,4,3,0" VerticalAlignment="Top" Grid.Row="1" RecognizesAccessKey="True">
                                    <ContentPresenter.LayoutTransform>
                                        <TransformGroup x:Uid="TransformGroup_21">
                                            <TransformGroup.Children>
                                                <TransformCollection x:Uid="TransformCollection_3">
                                                    <RotateTransform x:Uid="RotateTransform_21" Angle="90" />
                                                </TransformCollection>
                                            </TransformGroup.Children>
                                        </TransformGroup>
                                    </ContentPresenter.LayoutTransform>
                                </ContentPresenter>
                            </Grid>
                            <Rectangle x:Uid="Rectangle_26" x:Name="FocusBackground" Stroke="{StaticResource selectedStroke}" RadiusX="2" RadiusY="2" IsHitTestVisible="false" Opacity="0"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_43" Property="IsFocused" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_49" Storyboard="{StaticResource FocusedOff}" />
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_50" Storyboard="{StaticResource FocusedOn}" />
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_44" Property="IsChecked" Value="true">

                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_51" x:Name="CheckedOff_BeginStoryboard" Storyboard="{StaticResource CheckedOff}"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_52" x:Name="CheckedOn_BeginStoryboard" Storyboard="{StaticResource CheckedOn}"/>
                                </Trigger.EnterActions>

                            </Trigger>
                            <Trigger x:Uid="Trigger_45" Property="IsMouseOver" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_53" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_54" Storyboard="{StaticResource HoverOn}" x:Name="HoverOn_BeginStoryboard"/>
                                </Trigger.EnterActions>


                            </Trigger>
                            <Trigger x:Uid="Trigger_46" Property="IsPressed" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_55" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_56" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                                </Trigger.EnterActions>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_19" TargetType="{x:Type Expander}">
            <Setter x:Uid="Setter_79" Property="Background" Value="Transparent"/>
            <Setter x:Uid="Setter_80" Property="Foreground" Value="{StaticResource ButtonFontColor}"/>
            <Setter x:Uid="Setter_81" Property="FontWeight" Value="Bold"/>
            <Setter x:Uid="Setter_82" Property="Padding" Value="4"/>
            <Setter x:Uid="Setter_83" Property="HorizontalContentAlignment" Value="Stretch"/>
            <Setter x:Uid="Setter_84" Property="VerticalContentAlignment" Value="Stretch"/>
            <Setter x:Uid="Setter_85" Property="BorderBrush" Value="Transparent" />
            <Setter x:Uid="Setter_86" Property="BorderThickness" Value="1" />
            <Setter x:Uid="Setter_87" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_19" TargetType="{x:Type Expander}">
                        <Border x:Uid="Border_9" SnapsToDevicePixels="true" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1,1,1,1" CornerRadius="3">
                            <Grid x:Uid="Grid_23">
                                <DockPanel x:Uid="DockPanel_1">
                                    <ToggleButton x:Uid="HeaderSite" FontFamily="{TemplateBinding FontFamily}" FontSize="{TemplateBinding FontSize}" FontStretch="{TemplateBinding FontStretch}" FontStyle="{TemplateBinding FontStyle}" FontWeight="{TemplateBinding FontWeight}" Foreground="{TemplateBinding Foreground}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" FocusVisualStyle="{StaticResource ExpanderHeaderFocusVisual}" Margin="1,1,1,0" MinHeight="0" MinWidth="0" x:Name="HeaderSite" Style="{StaticResource ExpanderDownHeaderStyle}" Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}" ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}" IsChecked="{Binding Path=IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" DockPanel.Dock="Top" />
                                    <Border x:Uid="border" x:Name="border" Grid.Column="0" Grid.Row="1" Background="#FFFFFFFF" BorderThickness="1" CornerRadius="2" Padding="0" Visibility="Collapsed">
                                        <Border.BorderBrush>
                                            <LinearGradientBrush x:Uid="LinearGradientBrush_54" EndPoint="0.5,1" StartPoint="0.5,0">
                                                <GradientStop x:Uid="GradientStop_152" Color="#FFABAEB3" Offset="0"/>
                                                <GradientStop x:Uid="GradientStop_153" Color="#FFE2E8EE" Offset="0.355"/>
                                            </LinearGradientBrush>
                                        </Border.BorderBrush>
                                        <ContentPresenter x:Uid="ExpandSite" Focusable="false" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="1,1,1,1" x:Name="ExpandSite" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" DockPanel.Dock="Bottom" />
                                    </Border>
                                </DockPanel>
                                <Border x:Uid="Border_10" x:Name="DisabledVisualElement" IsHitTestVisible="false" Background="#A5FFFFFF" Opacity="0"/>
                                <Border x:Uid="Border_11" x:Name="FocusVisualElement" IsHitTestVisible="false" BorderBrush="#00FFFFFF" BorderThickness="1" Visibility="Collapsed"/>
                            </Grid>
                        </Border>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_47" Property="IsExpanded" Value="true">
                                <Setter x:Uid="Setter_88" Property="Visibility" TargetName="border" Value="Visible" />
                            </Trigger>
                            <Trigger x:Uid="Trigger_48" Property="ExpandDirection" Value="Down" />
                            <Trigger x:Uid="Trigger_49" Property="ExpandDirection" Value="Right">
                                <Setter x:Uid="Setter_89" Property="DockPanel.Dock" TargetName="ExpandSite" Value="Right" />
                                <Setter x:Uid="Setter_90" Property="DockPanel.Dock" TargetName="HeaderSite" Value="Left" />
                                <Setter x:Uid="Setter_91" Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderRightHeaderStyle}" />
                            </Trigger>
                            <Trigger x:Uid="Trigger_50" Property="ExpandDirection" Value="Up">
                                <Setter x:Uid="Setter_92" Property="DockPanel.Dock" TargetName="ExpandSite" Value="Top" />
                                <Setter x:Uid="Setter_93" Property="DockPanel.Dock" TargetName="HeaderSite" Value="Bottom" />
                                <Setter x:Uid="Setter_94" Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderUpHeaderStyle}" />
                            </Trigger>
                            <Trigger x:Uid="Trigger_51" Property="ExpandDirection" Value="Left">
                                <Setter x:Uid="Setter_95" Property="DockPanel.Dock" TargetName="ExpandSite" Value="Left" />
                                <Setter x:Uid="Setter_96" Property="DockPanel.Dock" TargetName="HeaderSite" Value="Right" />
                                <Setter x:Uid="Setter_97" Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderLeftHeaderStyle}" />
                            </Trigger>
                            <Trigger x:Uid="Trigger_52" Property="IsEnabled" Value="false">
                                <Setter x:Uid="Setter_98" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
                                <Setter x:Uid="Setter_99" Property="Opacity" TargetName="DisabledVisualElement" Value="1"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <ControlTemplate x:Uid="ControlTemplate_20" x:Key="ComboBoxToggleButton" TargetType="{x:Type ToggleButton}">
            <ControlTemplate.Resources>
                <Storyboard x:Uid="Storyboard_69" x:Key="HoverOn">
                    <DoubleAnimation x:Uid="DoubleAnimation_105" Duration="00:00:00.1000000" Storyboard.TargetName="BtnOver" Storyboard.TargetProperty="Opacity" To="0.8"/>
                    <DoubleAnimation x:Uid="DoubleAnimation_106" Duration="00:00:00.1000000" Storyboard.TargetName="Background_over" Storyboard.TargetProperty="Opacity" To="1"/>
                </Storyboard>
                <Storyboard x:Uid="Storyboard_70" x:Key="HoverOff">
                    <DoubleAnimation x:Uid="DoubleAnimation_107" Duration="00:00:00.4000000" Storyboard.TargetName="BtnOver" Storyboard.TargetProperty="Opacity" To="0"/>
                    <DoubleAnimation x:Uid="DoubleAnimation_108" Duration="00:00:00.4000000" Storyboard.TargetName="Background_over" Storyboard.TargetProperty="Opacity" To="0"/>
                </Storyboard>
                <Storyboard x:Uid="Storyboard_71" x:Key="PressedOn">
                    <DoubleAnimation x:Uid="DoubleAnimation_109" Duration="00:00:00.1000000" Storyboard.TargetName="BtnPress" Storyboard.TargetProperty="Opacity" To="0.8"/>
                    <DoubleAnimation x:Uid="DoubleAnimation_110" Duration="00:00:00.1000000" Storyboard.TargetName="Background_press" Storyboard.TargetProperty="Opacity" To="1"/>
                    <DoubleAnimation x:Uid="DoubleAnimation_111" Duration="00:00:00.1000000" Storyboard.TargetName="BtnPress_highlight" Storyboard.TargetProperty="Opacity" To="1"/>
                </Storyboard>
                <Storyboard x:Uid="Storyboard_72" x:Key="PressedOff">
                    <DoubleAnimation x:Uid="DoubleAnimation_112" Duration="00:00:00.4000000" Storyboard.TargetName="BtnPress" Storyboard.TargetProperty="Opacity" To="0"/>
                    <DoubleAnimation x:Uid="DoubleAnimation_113" Duration="00:00:00.4000000" Storyboard.TargetName="Background_press" Storyboard.TargetProperty="Opacity" To="0"/>
                    <DoubleAnimation x:Uid="DoubleAnimation_114" Duration="00:00:00.4000000" Storyboard.TargetName="BtnPress_highlight" Storyboard.TargetProperty="Opacity" To="0"/>
                </Storyboard>
            </ControlTemplate.Resources>
            <Grid x:Uid="Grid_24">
                <Rectangle x:Uid="Rectangle_27" x:Name="Background" Fill="#FFFFFFFF" Stroke="#FFABAEB3" RadiusX="3" RadiusY="3" IsHitTestVisible="false"/>
                <Rectangle x:Uid="Background_over" x:Name="Background_over" Stroke="{StaticResource TextBoxOverBrush}" RadiusX="3" RadiusY="3" Opacity="0" IsHitTestVisible="false"/>
                <Rectangle x:Uid="Background_press" x:Name="Background_press" Stroke="{StaticResource TextBoxPressBrush}" RadiusX="3" RadiusY="3" Opacity="0" IsHitTestVisible="false"/>
                <Border x:Uid="BtnOver" x:Name="BtnOver" Width="20" Background="{StaticResource BtnOverFill}" BorderBrush="{StaticResource TextBoxPressBrush}" BorderThickness="1" CornerRadius="0,3,3,0" Opacity="0" HorizontalAlignment="Right"/>
                <Border x:Uid="BtnPress" x:Name="BtnPress" Width="20" Background="{StaticResource BtnPressFill}" BorderBrush="{StaticResource btnPressStroke1}" BorderThickness="1" CornerRadius="0,3,3,0" Opacity="0" HorizontalAlignment="Right"/>
                <Border x:Uid="BtnPress_highlight" x:Name="BtnPress_highlight" Background="{StaticResource ComboTogglePressHighlight}" Margin="1" Width="18" CornerRadius="0,2,2,0" Opacity="0" HorizontalAlignment="Right"/>
                <Border x:Uid="BtnOverlay" x:Name="BtnOverlay" Margin="1" Width="18" CornerRadius="0,2,2,0" HorizontalAlignment="Right">
                    <Border.Background>
                        <LinearGradientBrush x:Uid="LinearGradientBrush_55" EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop x:Uid="GradientStop_154" Color="#00FFFFFF"/>
                            <GradientStop x:Uid="GradientStop_155" Color="#72FFFFFF" Offset="0.189"/>
                            <GradientStop x:Uid="GradientStop_156" Color="#72FFFFFF" Offset="0.5"/>
                            <GradientStop x:Uid="GradientStop_157" Color="#00FFFFFF" Offset="0.51"/>
                        </LinearGradientBrush>
                    </Border.Background>
                </Border>
                <Path x:Uid="BtnArrow" x:Name="BtnArrow" Margin="0,0,7,0" Width="6" Data="F1 M 301.14,-189.041L 311.57,-189.041L 306.355,-182.942L 301.14,-189.041 Z " HorizontalAlignment="Right" Stretch="Uniform">
                    <Path.Fill>
                        <LinearGradientBrush x:Uid="LinearGradientBrush_56" EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop x:Uid="GradientStop_158" Color="{StaticResource Arrow}" Offset="0"/>
                            <GradientStop x:Uid="GradientStop_159" Color="#FF000000" Offset="1"/>
                        </LinearGradientBrush>
                    </Path.Fill>
                </Path>
                <Rectangle x:Uid="Rectangle_28" x:Name="DisabledVisualElement" Margin="1" Fill="#00FFFFFF" RadiusX="3" RadiusY="3" IsHitTestVisible="false" Visibility="Collapsed"/>
            </Grid>
            <ControlTemplate.Triggers>
                <Trigger x:Uid="Trigger_53" Property="IsMouseOver" Value="true">
                    <Trigger.ExitActions>
                        <BeginStoryboard x:Uid="BeginStoryboard_57" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                    </Trigger.ExitActions>
                    <Trigger.EnterActions>
                        <BeginStoryboard x:Uid="BeginStoryboard_58" Storyboard="{StaticResource HoverOn}"/>
                    </Trigger.EnterActions>

                </Trigger>
                <Trigger x:Uid="Trigger_54" Property="IsChecked" Value="true"/>
                <Trigger x:Uid="Trigger_55" Property="IsPressed" Value="True">
                    <Trigger.ExitActions>
                        <BeginStoryboard x:Uid="BeginStoryboard_59" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                    </Trigger.ExitActions>
                    <Trigger.EnterActions>
                        <BeginStoryboard x:Uid="BeginStoryboard_60" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                    </Trigger.EnterActions>
                </Trigger>
                <Trigger x:Uid="Trigger_56" Property="IsEnabled" Value="False">
                    <Setter x:Uid="Setter_100" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                    <Setter x:Uid="Setter_101" Property="Visibility" TargetName="DisabledVisualElement" Value="Visible"/>
                </Trigger>
            </ControlTemplate.Triggers>
        </ControlTemplate>


        <ControlTemplate x:Uid="ControlTemplate_21" x:Key="ComboBoxTextBox" TargetType="{x:Type TextBox}">
            <Border x:Uid="PART_ContentHost" x:Name="PART_ContentHost" Focusable="False" Background="{TemplateBinding Background}"/>
        </ControlTemplate>


        <Style x:Uid="Style_20" TargetType="{x:Type ComboBox}">
            <Setter x:Uid="Setter_102" Property="SnapsToDevicePixels" Value="true"/>
            <Setter x:Uid="Setter_103" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
<Setter x:Uid="Setter_104" Property="Template" Value="{DynamicResource ComboBoxTemplate}" />
        </Style>
    
    <ControlTemplate x:Uid="ControlTemplate_22" x:Key="ComboBoxTemplate" TargetType="{x:Type ComboBox}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_73" x:Key="FocusedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_55" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_55" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_74" x:Key="FocusedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_56" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_56" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Grid x:Uid="Grid_25">
                            <ToggleButton x:Uid="ToggleButton" Grid.Column="2" Template="{DynamicResource ComboBoxToggleButton}" x:Name="ToggleButton" Focusable="false" IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" ClickMode="Press"/>
                            <ContentPresenter x:Uid="ContentSite" HorizontalAlignment="Left" Margin="3,3,23,3" x:Name="ContentSite" VerticalAlignment="Center" Content="{TemplateBinding SelectionBoxItem}" ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}" ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}" IsHitTestVisible="False"/>

                            <TextBox x:Uid="PART_EditableTextBox" Visibility="Hidden" Template="{DynamicResource ComboBoxTextBox}" HorizontalAlignment="Left" Margin="3,3,23,3" x:Name="PART_EditableTextBox" Style="{x:Null}" VerticalAlignment="Center" Focusable="True" Background="Transparent" IsReadOnly="{TemplateBinding IsReadOnly}"/>
                            <Rectangle x:Uid="Rectangle_29" x:Name="DisabledVisualElement" Fill="#A5FFFFFF" RadiusX="4" RadiusY="4" IsHitTestVisible="false" Visibility="Collapsed" />
                            <Rectangle x:Uid="Rectangle_30" x:Name="FocusVisualElement" Margin="-1" Stroke="{StaticResource selectedStroke}" StrokeThickness="1" RadiusX="4" RadiusY="4" IsHitTestVisible="false" Opacity="0"/>
                            <Popup x:Uid="Popup" IsOpen="{TemplateBinding IsDropDownOpen}" Placement="Bottom" x:Name="Popup" Focusable="False" AllowsTransparency="True" PopupAnimation="Slide">
                                <Grid x:Uid="DropDown" MaxHeight="{TemplateBinding MaxDropDownHeight}" MinWidth="{TemplateBinding ActualWidth}" x:Name="DropDown" SnapsToDevicePixels="True">
                                    <Border x:Uid="DropDownBorder" x:Name="DropDownBorder" Background="#FFFFFFFF" BorderBrush="{StaticResource TextBoxNorm}" BorderThickness="1" CornerRadius="1,1,3,3">
                                        <ScrollViewer x:Uid="ScrollViewer_2" Margin="4,6,4,6"   SnapsToDevicePixels="True" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" CanContentScroll="True">

                                            <StackPanel x:Uid="StackPanel_2" IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Contained"/>

                                        </ScrollViewer>
                                    </Border>
                                </Grid>
                            </Popup>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_57" Property="IsFocused" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_61" Storyboard="{StaticResource FocusedOff}" x:Name="FocusedOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_62" Storyboard="{StaticResource FocusedOn}"/>
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_58" Property="HasItems" Value="false">
                                <Setter x:Uid="Setter_105" Property="MinHeight" Value="95" TargetName="DropDownBorder"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_59" Property="IsEnabled" Value="false">
                                <Setter x:Uid="Setter_106" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                                <Setter x:Uid="Setter_107" Property="Visibility" TargetName="DisabledVisualElement" Value="Visible"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_60" Property="IsGrouping" Value="true">
                                <Setter x:Uid="Setter_108" Property="ScrollViewer.CanContentScroll" Value="false"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_61" Property="AllowsTransparency" SourceName="Popup" Value="true">
                                <Setter x:Uid="Setter_109" Property="CornerRadius" Value="4" TargetName="DropDownBorder"/>
                                <Setter x:Uid="Setter_110" Property="Margin" Value="0,2,0,0" TargetName="DropDownBorder"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_62" Property="IsEditable" Value="true">
                                <Setter x:Uid="Setter_111" Property="IsTabStop" Value="false"/>
                                <Setter x:Uid="Setter_112" Property="Visibility" Value="Visible" TargetName="PART_EditableTextBox"/>
                                <Setter x:Uid="Setter_113" Property="Visibility" Value="Hidden" TargetName="ContentSite"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>

        <Style x:Uid="Style_21" d:IsControlPart="True" TargetType="{x:Type ComboBoxItem}">
            <Setter x:Uid="Setter_114" Property="SnapsToDevicePixels" Value="true"/>
            <Setter x:Uid="Setter_115" Property="HorizontalContentAlignment" Value="Stretch" />
            <Setter x:Uid="Setter_116" Property="VerticalContentAlignment" Value="Center" />
            <Setter x:Uid="Setter_117" Property="Padding" Value="3" />
            <Setter x:Uid="Setter_118" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
            <Setter x:Uid="Setter_119" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_23" TargetType="{x:Type ComboBoxItem}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_75" x:Key="HoverOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_115" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundGradientOver" Storyboard.TargetProperty="Opacity" To="0.73"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_76" x:Key="HoverOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_116" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundGradientOver" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_77" x:Key="SelectedOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_117" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundGradientSelected" Storyboard.TargetProperty="Opacity" To="0.84"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_78" x:Key="SelectedOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_118" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundGradientSelected" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Grid x:Uid="Grid_26" SnapsToDevicePixels="true">
                            <Rectangle x:Uid="Rectangle_31" x:Name="BackgroundGradientOver" Fill="{StaticResource hoverGradient}" Stroke="{StaticResource hoverStroke}" RadiusX="2" RadiusY="2"  Opacity="0"/>
                            <Rectangle x:Uid="Rectangle_32" x:Name="BackgroundGradientSelected" Fill="{StaticResource BtnOverFill}" Stroke="{StaticResource selectedStroke}" RadiusX="2" RadiusY="2" Opacity="0"/>
                            <Rectangle x:Uid="Rectangle_33" x:Name="BackgroundHighlight" Margin="1" Stroke="#A0FFFFFF" RadiusX="1" RadiusY="1"/>
                            <ContentPresenter
	                        	x:Uid="ContentPresenter_7" x:Name="contentPresenter"
	                        	Content="{TemplateBinding Content}"
	                        	ContentTemplate="{TemplateBinding ContentTemplate}"
	                        	HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
	                        	Margin="{TemplateBinding Padding}"/>
                        </Grid>
                        <ControlTemplate.Triggers>

                            <Trigger x:Uid="Trigger_63" Property="IsMouseOver" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_63" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_64" Storyboard="{StaticResource HoverOn}" x:Name="HoverOn_BeginStoryboard"/>
                                </Trigger.EnterActions>
                            </Trigger>

                            <Trigger x:Uid="Trigger_64" Property="IsHighlighted" Value="true"/>
                            <Trigger x:Uid="Trigger_65" Property="Selector.IsSelected" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="SelectedOff_BeginStoryboard1" Storyboard="{StaticResource SelectedOff}" x:Name="SelectedOff_BeginStoryboard1"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="SelectedOn_BeginStoryboard1" Storyboard="{StaticResource SelectedOn}" x:Name="SelectedOn_BeginStoryboard1"/>
                                </Trigger.EnterActions>
                            </Trigger>

                            <Trigger x:Uid="Trigger_66" Property="IsEnabled" Value="false">
                                <Setter x:Uid="Setter_120" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_22" TargetType="{x:Type ProgressBar}">
            <Setter x:Uid="Setter_121" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_24" TargetType="{x:Type ProgressBar}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_79" x:Key="IndeterminateOn" RepeatBehavior="Forever">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_57" Storyboard.TargetName="IndeterminateGradientFill" Storyboard.TargetProperty="(Shape.Fill).(Brush.Transform).(TransformGroup.Children)[0].X" RepeatBehavior="Forever">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_57" KeyTime="0" Value="0"/>
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_58" KeyTime="00:00:.5" Value="20"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Grid x:Uid="Grid_27">

                            <Border x:Uid="Border_12" x:Name="PART_Track" BorderThickness="1" CornerRadius="3" Opacity="0.825">
                                <Border.Background>
                                    <LinearGradientBrush x:Uid="LinearGradientBrush_57" EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop x:Uid="GradientStop_160" Color="#FFFFFFFF"/>
                                        <GradientStop x:Uid="GradientStop_161" Color="#FFD8D8D8" Offset="0.327"/>
                                        <GradientStop x:Uid="GradientStop_162" Color="#FFDADADA" Offset="0.488"/>
                                        <GradientStop x:Uid="GradientStop_163" Color="#FFBEBEBE" Offset="0.539"/>
                                        <GradientStop x:Uid="GradientStop_164" Color="#FFD6D6D6" Offset="0.77"/>
                                        <GradientStop x:Uid="GradientStop_165" Color="#FFFFFFFF" Offset="1"/>
                                    </LinearGradientBrush>
                                </Border.Background>
                                <Border.BorderBrush>
                                    <LinearGradientBrush x:Uid="LinearGradientBrush_58" EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop x:Uid="GradientStop_166" Color="#FFBBBBBB" Offset="0"/>
                                        <GradientStop x:Uid="GradientStop_167" Color="#FF7E7E7E" Offset="1"/>
                                    </LinearGradientBrush>
                                </Border.BorderBrush>
                            </Border>
                            <Grid x:Uid="IndeterminateRoot" x:Name="IndeterminateRoot" Visibility="Collapsed">
                                <Rectangle x:Uid="IndeterminateSolidFill" x:Name="IndeterminateSolidFill" Margin="1" Fill="#FF00C120" RadiusX="2" RadiusY="2"/>
                                <Rectangle x:Uid="ProgressBarRootGradient" x:Name="ProgressBarRootGradient" Margin="1" RadiusX="1.5" RadiusY="1.5" Panel.ZIndex="1">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush x:Uid="LinearGradientBrush_59" EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop x:Uid="GradientStop_168" Color="#FFE8FFEC" Offset="0"/>
                                            <GradientStop x:Uid="GradientStop_169" Color="#84BDFFC9" Offset="0.516"/>
                                            <GradientStop x:Uid="GradientStop_170" Color="#00D6D6D6" Offset="0.521"/>
                                            <GradientStop x:Uid="GradientStop_171" Color="#FF7BFF94" Offset="1"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle x:Uid="IndeterminateGradientFill" x:Name="IndeterminateGradientFill" Margin="1" StrokeThickness="1" RadiusX="2" RadiusY="2" Opacity="0.7">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush x:Uid="LinearGradientBrush_60" EndPoint="0,1" StartPoint="20,1" MappingMode="Absolute" SpreadMethod="Repeat">
                                            <LinearGradientBrush.Transform>
                                                <TransformGroup x:Uid="TransformGroup_22">
                                                    <TranslateTransform x:Uid="TranslateTransform_17" X="0"/>
                                                    <SkewTransform x:Uid="SkewTransform_18" AngleX="-10"/>
                                                </TransformGroup>
                                            </LinearGradientBrush.Transform>
                                            <GradientStop x:Uid="GradientStop_172" Color="#FF95FFA8" Offset="0.129"/>
                                            <GradientStop x:Uid="GradientStop_173" Color="#9159FF76" Offset="0.304"/>
                                            <GradientStop x:Uid="GradientStop_174" Color="#0007B324" Offset="0.498"/>
                                            <GradientStop x:Uid="GradientStop_175" Color="#8661FF7C" Offset="0.714"/>
                                            <GradientStop x:Uid="GradientStop_176" Color="#FF8BFFA1" Offset="0.949"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                            </Grid>
                            <Grid x:Uid="DeterminateRoot" x:Name="DeterminateRoot">
                                <Rectangle x:Uid="PART_Indicator" x:Name="PART_Indicator" Margin="1" RadiusX="1.5" RadiusY="1.5" HorizontalAlignment="Left" Opacity="0.83">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush x:Uid="LinearGradientBrush_61" EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop x:Uid="GradientStop_177" Color="#FFE4FFDA" Offset="0"/>
                                            <GradientStop x:Uid="GradientStop_178" Color="#FFBDF4C0" Offset="0.198"/>
                                            <GradientStop x:Uid="GradientStop_179" Color="#FF9CEBAB" Offset="0.516"/>
                                            <GradientStop x:Uid="GradientStop_180" Color="#FF00C523" Offset="0.521"/>
                                            <GradientStop x:Uid="GradientStop_181" Color="#FF00D724" Offset="0.797"/>
                                            <GradientStop x:Uid="GradientStop_182" Color="#FF10DC2E" Offset="1"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                            </Grid>
                            <Border x:Uid="Border_13" x:Name="DisabledVisualElement" Background="#A5FFFFFF" BorderBrush="#59C0C0C0" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" IsHitTestVisible="False" Visibility="Collapsed"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_67" Property="IsEnabled" Value="False">
                                <Setter x:Uid="Setter_122" Property="Visibility" TargetName="DisabledVisualElement" Value="Visible"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_68" Property="IsIndeterminate" Value="True">
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_65" Storyboard="{StaticResource IndeterminateOn}"/>
                                </Trigger.EnterActions>
                                <Setter x:Uid="Setter_123" Property="Visibility" TargetName="IndeterminateRoot" Value="Visible"/>
                                <Setter x:Uid="Setter_124" Property="Visibility" TargetName="DeterminateRoot" Value="Collapsed"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_23" TargetType="{x:Type TextBox}">
            <Setter x:Uid="Setter_125" Property="KeyboardNavigation.TabNavigation" Value="None"/>
            <Setter x:Uid="Setter_126" Property="FocusVisualStyle" Value="{x:Null}"/>
            <Setter x:Uid="Setter_127" Property="AllowDrop" Value="true"/>
            <Setter x:Uid="Setter_128" Property="Background" Value="#FFFFFFFF"/>
            <Setter x:Uid="Setter_129" Property="HorizontalContentAlignment" Value="Stretch"/>
            <Setter x:Uid="Setter_130" Property="VerticalContentAlignment" Value="Stretch"/>
            <Setter x:Uid="Setter_131" Property="Padding" Value="4"/>
            <Setter x:Uid="Setter_132" Property="BorderThickness" Value="1"/>
<Setter x:Uid="Setter_133" Property="Template" Value="{DynamicResource TextBoxTemplate}" />
        </Style>
    
    <ControlTemplate x:Uid="ControlTemplate_25" x:Key="TextBoxTemplate" TargetType="{x:Type TextBox}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_80" x:Key="HoverOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_119" Duration="00:00:00.1000000" Storyboard.TargetName="Over" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_81" x:Key="HoverOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_120" Duration="00:00:00.4000000" Storyboard.TargetName="Over" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_82" x:Key="FocusedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_58" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_59" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_83" x:Key="FocusedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_59" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_60" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>

                        </ControlTemplate.Resources>
                        <Grid x:Uid="Grid_28">
                            <Border x:Uid="BorderBase" x:Name="BorderBase" Background="{TemplateBinding Background}" BorderBrush="{StaticResource TextBoxNorm}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3"/>
                            <Border x:Uid="Over" x:Name="Over" BorderBrush="{StaticResource TextBoxOver}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" Opacity="0"/>
                            <ScrollViewer x:Uid="ScrollViewer_3" Margin="0" x:Name="PART_ContentHost" Padding="{TemplateBinding Padding}" />
                            <Border x:Uid="Border_14" x:Name="DisabledVisualElement" Background="#A5FFFFFF" BorderBrush="#59C0C0C0" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" IsHitTestVisible="False" Visibility="Collapsed"/>
                            <Border x:Uid="Border_15" x:Name="FocusVisualElement" BorderBrush="{StaticResource TextBoxFocus}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" IsHitTestVisible="False" Opacity="0"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_69" Property="IsFocused" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_66" Storyboard="{StaticResource FocusedOff}" x:Name="FocusedOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_67" Storyboard="{StaticResource FocusedOn}" x:Name="FocusedOn_BeginStoryboard"/>
                                </Trigger.EnterActions>
                            </Trigger>
                            <MultiTrigger x:Uid="MultiTrigger_3">
                                <MultiTrigger.Conditions>
                                    <Condition x:Uid="Condition_5" Property="IsMouseOver" Value="True"/>
                                    <Condition x:Uid="Condition_6" Property="IsFocused" Value="False"/>
                                </MultiTrigger.Conditions>
                                <MultiTrigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_68" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                                </MultiTrigger.ExitActions>
                                <MultiTrigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_69" Storyboard="{StaticResource HoverOn}"/>
                                </MultiTrigger.EnterActions>
                            </MultiTrigger>
                            <Trigger x:Uid="Trigger_70" Property="IsEnabled" Value="False">
                                <Setter x:Uid="Setter_134" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                                <Setter x:Uid="Setter_135" Property="Visibility" TargetName="DisabledVisualElement" Value="Visible"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>

        <Style x:Uid="Style_24" TargetType="{x:Type PasswordBox}">
            <Setter x:Uid="Setter_136" Property="KeyboardNavigation.TabNavigation" Value="None"/>
            <Setter x:Uid="Setter_137" Property="FocusVisualStyle" Value="{x:Null}"/>
            <Setter x:Uid="Setter_138" Property="AllowDrop" Value="true"/>
            <Setter x:Uid="Setter_139" Property="Background" Value="#FFFFFFFF"/>
            <Setter x:Uid="Setter_140" Property="HorizontalContentAlignment" Value="Stretch"/>
            <Setter x:Uid="Setter_141" Property="VerticalContentAlignment" Value="Stretch"/>
            <Setter x:Uid="Setter_142" Property="Padding" Value="4"/>
            <Setter x:Uid="Setter_143" Property="BorderThickness" Value="1"/>
            <Setter x:Uid="Setter_144" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_26" TargetType="{x:Type PasswordBox}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_84" x:Key="HoverOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_121" Duration="00:00:00.1000000" Storyboard.TargetName="Over" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_85" x:Key="HoverOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_122" Duration="00:00:00.4000000" Storyboard.TargetName="Over" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_86" x:Key="FocusedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_60" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_61" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_87" x:Key="FocusedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_61" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_62" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>

                        </ControlTemplate.Resources>
                        <Grid x:Uid="Grid_29">
                            <Border x:Uid="Border_16" x:Name="BorderBase" Background="{TemplateBinding Background}" BorderBrush="{StaticResource TextBoxNorm}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3"/>
                            <Border x:Uid="Border_17" x:Name="Over" BorderBrush="{StaticResource TextBoxOver}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" Opacity="0"/>
                            <ScrollViewer x:Uid="ScrollViewer_4" Margin="0" x:Name="PART_ContentHost" Padding="{TemplateBinding Padding}" />
                            <Border x:Uid="Border_18" x:Name="DisabledVisualElement" Background="#A5FFFFFF" BorderBrush="#59C0C0C0" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" IsHitTestVisible="False" Visibility="Collapsed"/>
                            <Border x:Uid="Border_19" x:Name="FocusVisualElement" BorderBrush="{StaticResource TextBoxFocus}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" IsHitTestVisible="False" Opacity="0"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_71" Property="IsFocused" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_70" Storyboard="{StaticResource FocusedOff}" x:Name="FocusedOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_71" Storyboard="{StaticResource FocusedOn}" x:Name="FocusedOn_BeginStoryboard"/>
                                </Trigger.EnterActions>
                            </Trigger>
                            <MultiTrigger x:Uid="MultiTrigger_4">
                                <MultiTrigger.Conditions>
                                    <Condition x:Uid="Condition_7" Property="IsMouseOver" Value="True"/>
                                    <Condition x:Uid="Condition_8" Property="IsFocused" Value="False"/>
                                </MultiTrigger.Conditions>
                                <MultiTrigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_72" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                                </MultiTrigger.ExitActions>
                                <MultiTrigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_73" Storyboard="{StaticResource HoverOn}"/>
                                </MultiTrigger.EnterActions>
                            </MultiTrigger>
                            <Trigger x:Uid="Trigger_72" Property="IsEnabled" Value="False">
                                <Setter x:Uid="Setter_145" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                                <Setter x:Uid="Setter_146" Property="Visibility" TargetName="DisabledVisualElement" Value="Visible"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_25" TargetType="{x:Type RichTextBox}">
            <Setter x:Uid="Setter_147" Property="KeyboardNavigation.TabNavigation" Value="None"/>
            <Setter x:Uid="Setter_148" Property="FocusVisualStyle" Value="{x:Null}"/>
            <Setter x:Uid="Setter_149" Property="AllowDrop" Value="true"/>
            <Setter x:Uid="Setter_150" Property="Background" Value="#FFFFFFFF"/>
            <Setter x:Uid="Setter_151" Property="HorizontalContentAlignment" Value="Stretch"/>
            <Setter x:Uid="Setter_152" Property="VerticalContentAlignment" Value="Stretch"/>
            <Setter x:Uid="Setter_153" Property="Padding" Value="4"/>
            <Setter x:Uid="Setter_154" Property="BorderThickness" Value="1"/>
            <Setter x:Uid="Setter_155" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_27" TargetType="{x:Type RichTextBox}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_88" x:Key="HoverOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_123" Duration="00:00:00.1000000" Storyboard.TargetName="Over" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_89" x:Key="HoverOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_124" Duration="00:00:00.4000000" Storyboard.TargetName="Over" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_90" x:Key="FocusedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_62" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_63" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_91" x:Key="FocusedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_63" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_64" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>

                        </ControlTemplate.Resources>
                        <Grid x:Uid="Grid_30">
                            <Border x:Uid="Border_20" x:Name="BorderBase" Background="{TemplateBinding Background}" BorderBrush="{StaticResource TextBoxNorm}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3"/>
                            <Border x:Uid="Border_21" x:Name="Over" BorderBrush="{StaticResource TextBoxOver}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" Opacity="0"/>
                            <ScrollViewer x:Uid="ScrollViewer_5" Margin="0" x:Name="PART_ContentHost" Padding="{TemplateBinding Padding}" />
                            <Border x:Uid="Border_22" x:Name="DisabledVisualElement" Background="#A5FFFFFF" BorderBrush="#59C0C0C0" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" IsHitTestVisible="False" Visibility="Collapsed"/>
                            <Border x:Uid="Border_23" x:Name="FocusVisualElement" BorderBrush="{StaticResource TextBoxFocus}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" IsHitTestVisible="False" Opacity="0"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_73" Property="IsFocused" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_74" Storyboard="{StaticResource FocusedOff}" x:Name="FocusedOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_75" Storyboard="{StaticResource FocusedOn}" x:Name="FocusedOn_BeginStoryboard"/>
                                </Trigger.EnterActions>
                            </Trigger>
                            <MultiTrigger x:Uid="MultiTrigger_5">
                                <MultiTrigger.Conditions>
                                    <Condition x:Uid="Condition_9" Property="IsMouseOver" Value="True"/>
                                    <Condition x:Uid="Condition_10" Property="IsFocused" Value="False"/>
                                </MultiTrigger.Conditions>
                                <MultiTrigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_76" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                                </MultiTrigger.ExitActions>
                                <MultiTrigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_77" Storyboard="{StaticResource HoverOn}"/>
                                </MultiTrigger.EnterActions>
                            </MultiTrigger>
                            <Trigger x:Uid="Trigger_74" Property="IsEnabled" Value="False">
                                <Setter x:Uid="Setter_156" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
                                <Setter x:Uid="Setter_157" Property="Visibility" TargetName="DisabledVisualElement" Value="Visible"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_26" TargetType="{x:Type Label}">
            <Setter x:Uid="Setter_158" Property="HorizontalContentAlignment" Value="Left"/>
            <Setter x:Uid="Setter_159" Property="VerticalContentAlignment" Value="Top"/>
            <Setter x:Uid="Setter_160" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
            <Setter x:Uid="Setter_161" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_28" TargetType="{x:Type Label}">
                        <Grid x:Uid="Grid_31">
                            <ContentPresenter  x:Uid="ContentPresenter_8" RecognizesAccessKey="True"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_75" Property="IsEnabled" Value="false"/>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_27" TargetType="{x:Type Menu}">
            <Setter x:Uid="Setter_162" Property="SnapsToDevicePixels" Value="True"/>
            <Setter x:Uid="Setter_163" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
            <Setter x:Uid="Setter_164" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_29" TargetType="{x:Type Menu}">
                        <Grid x:Uid="Grid_32">
                            <Border x:Uid="Border" x:Name="Border" Background="{StaticResource grayGradient}" />
                            <StackPanel x:Uid="StackPanel_3" IsItemsHost="True" ClipToBounds="True" Orientation="Horizontal"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_76" Property="IsEnabled" Value="False">
                                <Setter x:Uid="Setter_165" Property="Background" Value="#A5FFFFFF" TargetName="Border"/>
                                <Setter x:Uid="Setter_166" Property="BorderBrush" Value="#59C0C0C0" TargetName="Border"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <DropShadowBitmapEffect x:Uid="DropShadowBitmapEffect_1" x:Key="PopupDropShadow" ShadowDepth="1.5" Softness="0.15"/>

        <Style x:Uid="Style_28" TargetType="{x:Type MenuItem}">
            <Setter x:Uid="Setter_167" Property="HorizontalContentAlignment" Value="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
            <Setter x:Uid="Setter_168" Property="VerticalContentAlignment" Value="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
            <Setter x:Uid="Setter_169" Property="Background" Value="Transparent"/>
            <Setter x:Uid="Setter_170" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
            <Setter x:Uid="Setter_171" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_30" TargetType="{x:Type MenuItem}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_92" x:Key="HighlightOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_125" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundGradientSelected" Storyboard.TargetProperty="Opacity" To="0.84"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_93" x:Key="HighlightOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_126" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundGradientSelected" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Border x:Uid="Border_24" x:Name="Border" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                            <Grid x:Uid="Grid_33" Margin="1,1,1,1">

                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition x:Uid="ColumnDefinition_7" MinWidth="17" Width="Auto" SharedSizeGroup="MenuItemIconColumnGroup"/>
                                    <ColumnDefinition x:Uid="ColumnDefinition_8" Width="*"/>
                                    <ColumnDefinition x:Uid="ColumnDefinition_9" Width="Auto" SharedSizeGroup="MenuItemIGTColumnGroup"/>
                                    <ColumnDefinition x:Uid="ColumnDefinition_10" Width="14"/>
                                </Grid.ColumnDefinitions>
                                <Rectangle x:Uid="Rectangle_34" x:Name="BackgroundGradientOver" Fill="{StaticResource hoverGradient}" Stroke="{StaticResource hoverStroke}" RadiusX="2" RadiusY="2"  Opacity="0" Grid.ColumnSpan="4"/>
                                <Rectangle x:Uid="Rectangle_35" x:Name="BackgroundGradientSelected" Fill="{StaticResource BtnOverFill}" Stroke="{StaticResource selectedStroke}" RadiusX="2" RadiusY="2" Opacity="0" Grid.ColumnSpan="4"/>
                                <Rectangle x:Uid="Rectangle_36" x:Name="BackgroundHighlight" Margin="1" Stroke="#A0FFFFFF" RadiusX="1" RadiusY="1" Grid.ColumnSpan="4" Opacity="0"/>
                                <ContentPresenter x:Uid="Icon" Margin="4,0,6,0" x:Name="Icon" VerticalAlignment="Center" ContentSource="Icon"/>
                                <Grid x:Uid="GlyphPanel" Visibility="Hidden" Margin="4,0,6,0" x:Name="GlyphPanel" VerticalAlignment="Center">
                                    <Path x:Uid="GlyphPanelpath" x:Name="GlyphPanelpath" VerticalAlignment="Center" Fill="{TemplateBinding Foreground}" Data="M0,2 L0,4.8 L2.5,7.4 L7.1,2.8 L7.1,0 L2.5,4.6 z" FlowDirection="LeftToRight"/>
                                </Grid>

                                <ContentPresenter x:Uid="HeaderHost" Grid.Column="1" Margin="{TemplateBinding Padding}" x:Name="HeaderHost" RecognizesAccessKey="True" ContentSource="Header"/>

                                <Grid x:Uid="ArrowPanel" Grid.Column="3" Margin="4,0,6,0" x:Name="ArrowPanel" VerticalAlignment="Center">
                                    <Path x:Uid="ArrowPanelPath" x:Name="ArrowPanelPath" VerticalAlignment="Center" Fill="{TemplateBinding Foreground}" Data="M0,0 L0,8 L4,4 z"/>
                                </Grid>

                                <Popup x:Uid="SubMenuPopup" IsOpen="{Binding Path=IsSubmenuOpen, RelativeSource={RelativeSource TemplatedParent}}" Placement="Right" x:Name="SubMenuPopup" Focusable="false" AllowsTransparency="true" PopupAnimation="{DynamicResource {x:Static SystemParameters.MenuPopupAnimationKey}}" VerticalOffset="-3">
                                    <Grid x:Uid="SubMenu" x:Name="SubMenu">
                                        <Border x:Uid="SubMenuBorder" x:Name="SubMenuBorder" Background="#FFFFFFFF" BorderBrush="{StaticResource TextBoxNorm}" BorderThickness="1"/>

                                        <StackPanel x:Uid="StackPanel_4" IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Cycle"/>
                                    </Grid>
                                </Popup>

                            </Grid>
                        </Border>

                        <ControlTemplate.Triggers>

                            <Trigger x:Uid="Trigger_77" Property="Role" Value="TopLevelHeader">
                                <Setter x:Uid="Setter_172" Property="Margin" Value="0,1,0,1"/>
                                <Setter x:Uid="Setter_173" Property="Padding" Value="6,3,6,3"/>
                                <Setter x:Uid="Setter_174" Property="Grid.IsSharedSizeScope" Value="true"/>
                                <Setter x:Uid="Setter_175" Property="Placement" Value="Bottom" TargetName="SubMenuPopup"/>
                                <Setter x:Uid="Setter_176" Property="Visibility" Value="Collapsed" TargetName="ArrowPanel"/>
                            </Trigger>

                            <Trigger x:Uid="Trigger_78" Property="Role" Value="TopLevelItem">
                                <Setter x:Uid="Setter_177" Property="Margin" Value="0,1,0,1"/>
                                <Setter x:Uid="Setter_178" Property="Padding" Value="6,3,6,3"/>
                                <Setter x:Uid="Setter_179" Property="Visibility" Value="Collapsed" TargetName="ArrowPanel"/>
                            </Trigger>

                            <Trigger x:Uid="Trigger_79" Property="Role" Value="SubmenuHeader">
                                <Setter x:Uid="Setter_180" Property="DockPanel.Dock" Value="Top"/>
                                <Setter x:Uid="Setter_181" Property="Padding" Value="0,2,0,2"/>
                                <Setter x:Uid="Setter_182" Property="Grid.IsSharedSizeScope" Value="true"/>
                            </Trigger>

                            <Trigger x:Uid="Trigger_80" Property="Role" Value="SubmenuItem">
                                <Setter x:Uid="Setter_183" Property="DockPanel.Dock" Value="Top"/>
                                <Setter x:Uid="Setter_184" Property="Padding" Value="0,2,0,2"/>
                                <Setter x:Uid="Setter_185" Property="Visibility" Value="Collapsed" TargetName="ArrowPanel"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_81" Property="IsSuspendingPopupAnimation" Value="true">
                                <Setter x:Uid="Setter_186" Property="PopupAnimation" Value="None" TargetName="SubMenuPopup"/>
                            </Trigger>

                            <Trigger x:Uid="Trigger_82" Property="Icon" Value="{x:Null}">
                                <Setter x:Uid="Setter_187" Property="Visibility" Value="Collapsed" TargetName="Icon"/>
                            </Trigger>

                            <Trigger x:Uid="Trigger_83" Property="IsChecked" Value="true">
                                <Setter x:Uid="Setter_188" Property="Visibility" Value="Visible" TargetName="GlyphPanel"/>
                                <Setter x:Uid="Setter_189" Property="Visibility" Value="Collapsed" TargetName="Icon"/>
                            </Trigger>

                            <Trigger x:Uid="Trigger_84" Property="AllowsTransparency" SourceName="SubMenuPopup" Value="true">
                                <Setter x:Uid="Setter_190" Property="Margin" Value="0,0,3,3" TargetName="SubMenu"/>
                                <Setter x:Uid="Setter_191" Property="SnapsToDevicePixels" Value="true" TargetName="SubMenu"/>
                                <Setter x:Uid="Setter_192" Property="BitmapEffect" Value="{DynamicResource PopupDropShadow}" TargetName="SubMenuBorder"/>
                            </Trigger>

                            <Trigger x:Uid="Trigger_85" Property="IsHighlighted" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_78" Storyboard="{StaticResource HighlightOff}" />
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_79" Storyboard="{StaticResource HighlightOn}" />
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_86" Property="IsEnabled" Value="false">
                                <Setter x:Uid="Setter_193" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_29" TargetType="{x:Type Separator}">
            <Setter x:Uid="Setter_194" Property="Height" Value="1"/>
            <Setter x:Uid="Setter_195" Property="Margin" Value="0,2,0,2"/>
            <Setter x:Uid="Setter_196" Property="Focusable" Value="false"/>
            <Setter x:Uid="Setter_197" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_31" TargetType="{x:Type Separator}">
                        <Border x:Uid="Border_25" BorderBrush="#FF888888" BorderThickness="1"/>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_30" TargetType="{x:Type TabControl}">
            <Setter x:Uid="Setter_198" Property="Background" Value="#FFFFFFFF"/>
            <Setter x:Uid="Setter_199" Property="BorderThickness" Value="1"/>
            <Setter x:Uid="Setter_200" Property="Padding" Value="5"/>
            <Setter x:Uid="Setter_201" Property="HorizontalContentAlignment" Value="Stretch"/>
            <Setter x:Uid="Setter_202" Property="VerticalContentAlignment" Value="Stretch"/>
            <Setter x:Uid="Setter_203" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
            <Setter x:Uid="Setter_204" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_32" TargetType="{x:Type TabControl}">
                        <Grid x:Uid="Grid_34" ClipToBounds="true" SnapsToDevicePixels="true" KeyboardNavigation.TabNavigation="Local">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition x:Uid="ColumnDefinition0" x:Name="ColumnDefinition0" />
                                <ColumnDefinition x:Uid="ColumnDefinition1" x:Name="ColumnDefinition1" Width="0" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition x:Uid="RowDefinition0" Height="Auto" x:Name="RowDefinition0" />
                                <RowDefinition x:Uid="RowDefinition1" Height="*" x:Name="RowDefinition1" />
                            </Grid.RowDefinitions>
                            <Border x:Uid="Border_26" CornerRadius="2,2,0,0" x:Name="border" Margin="0,0,0,-1.5" Panel.ZIndex="100">
                                <TabPanel x:Uid="HeaderPanel" x:Name="HeaderPanel" IsItemsHost="true" Panel.ZIndex="1" KeyboardNavigation.TabIndex="1" RenderTransformOrigin="0.5,0.5" Width="Auto" Height="Auto" Margin="2,0,0,0">
                                    <TabPanel.LayoutTransform>
                                        <TransformGroup x:Uid="TransformGroup_23">
                                            <ScaleTransform x:Uid="ScaleTransform_19" ScaleX="1" ScaleY="1" />
                                            <SkewTransform x:Uid="SkewTransform_19" AngleX="0" AngleY="0" />
                                            <RotateTransform x:Uid="RotateTransform_22" Angle="0" />
                                            <TranslateTransform x:Uid="TranslateTransform_18" X="0" Y="0" />
                                        </TransformGroup>
                                    </TabPanel.LayoutTransform>
                                    <TabPanel.RenderTransform>
                                        <TransformGroup x:Uid="TransformGroup_24">
                                            <ScaleTransform x:Uid="ScaleTransform_20" ScaleX="1" ScaleY="1" />
                                            <SkewTransform x:Uid="SkewTransform_20" AngleX="0" AngleY="0" />
                                            <RotateTransform x:Uid="RotateTransform_23" />
                                            <TranslateTransform x:Uid="TranslateTransform_19" X="0" Y="0" />
                                        </TransformGroup>
                                    </TabPanel.RenderTransform>

                                </TabPanel>
                            </Border>
                            <Border x:Uid="ContentPanel" Grid.Row="1" x:Name="ContentPanel" MinHeight="10" MinWidth="10" Background="#FFFFFFFF" BorderBrush="#FF979AA2" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="1">
                                <ContentPresenter x:Uid="PART_SelectedContentHost" Margin="4" x:Name="PART_SelectedContentHost" ContentSource="SelectedContent"/>
                            </Border>
                            <Border x:Uid="DisabledVisualTop" x:Name="DisabledVisualTop" Grid.Row="1" Grid.RowSpan="2" Background="#8CFFFFFF" CornerRadius="1" Panel.ZIndex="1" IsHitTestVisible="False" Opacity="0"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_87" Property="TabStripPlacement" Value="Bottom">
                                <Setter x:Uid="Setter_205" Property="Grid.Row" TargetName="ContentPanel" Value="0" />
                                <Setter x:Uid="Setter_206" Property="Height" TargetName="RowDefinition0" Value="*" />
                                <Setter x:Uid="Setter_207" Property="Height" TargetName="RowDefinition1" Value="Auto" />
                                <Setter x:Uid="Setter_208" Property="Grid.Row" TargetName="border" Value="1"/>
                                <Setter x:Uid="Setter_209" Property="CornerRadius" TargetName="ContentPanel" Value="2,2,0,0"/>
                                <Setter x:Uid="Setter_210" Property="CornerRadius" TargetName="border" Value="0,0,2,2"/>
                                <Setter x:Uid="Setter_211" Property="Margin" TargetName="border" Value="0,-1.5,0,0"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_88" Property="TabStripPlacement" Value="Left">

                                <Setter x:Uid="Setter_212" Property="Grid.Row" TargetName="HeaderPanel" Value="0" />
                                <Setter x:Uid="Setter_213" Property="Grid.Row" TargetName="ContentPanel" Value="0" />
                                <Setter x:Uid="Setter_214" Property="Grid.Column" TargetName="ContentPanel" Value="1" />
                                <Setter x:Uid="Setter_215" Property="Width" TargetName="ColumnDefinition0" Value="Auto" />
                                <Setter x:Uid="Setter_216" Property="Width" TargetName="ColumnDefinition1" Value="*" />
                                <Setter x:Uid="Setter_217" Property="Height" TargetName="RowDefinition0" Value="*" />
                                <Setter x:Uid="Setter_218" Property="Height" TargetName="RowDefinition1" Value="0" />
                                <Setter x:Uid="Setter_219" Property="Grid.Column" TargetName="border" Value="0"/>
                                <Setter x:Uid="Setter_220" Property="Margin" TargetName="border" Value="0,0,-1,0"/>
                                <Setter x:Uid="Setter_221" Property="Margin" TargetName="ContentPanel" Value="0,0,0,0"/>
                                <Setter x:Uid="Setter_222" Property="CornerRadius" TargetName="border" Value="0,2,2,0"/>
                                <Setter x:Uid="Setter_223" Property="CornerRadius" TargetName="ContentPanel" Value="0,2,2,0"/>
                                <Setter x:Uid="Setter_224" Property="Margin" TargetName="HeaderPanel" Value="5,2,0,0"/>

                            </Trigger>
                            <Trigger x:Uid="Trigger_89" Property="TabStripPlacement" Value="Right">
                                <Setter x:Uid="Setter_225" Property="Grid.Row" TargetName="HeaderPanel" Value="0" />
                                <Setter x:Uid="Setter_226" Property="Grid.Row" TargetName="ContentPanel" Value="0" />
                                <Setter x:Uid="Setter_227" Property="Grid.Column" TargetName="ContentPanel" Value="0" />
                                <Setter x:Uid="Setter_228" Property="Width" TargetName="ColumnDefinition0" Value="*" />
                                <Setter x:Uid="Setter_229" Property="Width" TargetName="ColumnDefinition1" Value="Auto" />
                                <Setter x:Uid="Setter_230" Property="Height" TargetName="RowDefinition0" Value="*" />
                                <Setter x:Uid="Setter_231" Property="Height" TargetName="RowDefinition1" Value="0" />
                                <Setter x:Uid="Setter_232" Property="Grid.Column" TargetName="border" Value="1"/>
                                <Setter x:Uid="Setter_233" Property="CornerRadius" TargetName="ContentPanel" Value="2,0,0,2"/>
                                <Setter x:Uid="Setter_234" Property="CornerRadius" TargetName="border" Value="0,2,2,0"/>
                                <Setter x:Uid="Setter_235" Property="Margin" TargetName="border" Value="-6,2,0,0"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_90" Property="IsEnabled" Value="false">
                                <Setter x:Uid="Setter_236" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
                                <Setter x:Uid="Setter_237" Property="Opacity" TargetName="DisabledVisualTop" Value="1"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_31" d:IsControlPart="True" TargetType="{x:Type TabItem}">
            <Setter x:Uid="Setter_238" Property="HorizontalContentAlignment" Value="Center"/>
            <Setter x:Uid="Setter_239" Property="VerticalContentAlignment" Value="Center"/>
            <Setter x:Uid="Setter_240" Property="Padding" Value="10,6,10,6"/>
            <Setter x:Uid="Setter_241" Property="MinWidth" Value="5"/>
            <Setter x:Uid="Setter_242" Property="MinHeight" Value="5"/>
            <Setter x:Uid="Setter_243" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
            <Setter x:Uid="Setter_244" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_33" TargetType="{x:Type TabItem}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_94" x:Key="SelectedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_64" BeginTime="00:00:00" Storyboard.TargetName="TemplateTopSelected" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_65" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_65" BeginTime="00:00:00" Storyboard.TargetName="TemplateTopUnselected" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_66" KeyTime="00:00:00.1000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_95" x:Key="SelectedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_66" BeginTime="00:00:00" Storyboard.TargetName="TemplateTopSelected" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_67" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_67" BeginTime="00:00:00" Storyboard.TargetName="TemplateTopUnselected" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_68" KeyTime="00:00:00.3000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_96" x:Key="HoverOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_68" BeginTime="00:00:00" Storyboard.TargetName="TopUnselectedOver" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_69" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_97" x:Key="HoverOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_69" BeginTime="00:00:00" Storyboard.TargetName="TopUnselectedOver" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_70" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Grid x:Uid="grid" x:Name="grid">
                            <Grid.LayoutTransform>
                                <TransformGroup x:Uid="TransformGroup_25">
                                    <ScaleTransform x:Uid="ScaleTransform_21" ScaleX="1" ScaleY="1"/>
                                    <SkewTransform x:Uid="SkewTransform_21" AngleX="0" AngleY="0"/>
                                    <RotateTransform x:Uid="RotateTransform_24" Angle="0"/>
                                    <TranslateTransform x:Uid="TranslateTransform_20" X="0" Y="0"/>
                                </TransformGroup>
                            </Grid.LayoutTransform>


                            <Grid x:Uid="TemplateTopSelected" x:Name="TemplateTopSelected" Margin="-2,0,-2,0" Panel.ZIndex="0" Opacity="0">
                                <Grid x:Uid="Grid_35">
                                    <Border x:Uid="BackgroundTop" x:Name="BackgroundTop" Background="#FFFFFFFF" BorderBrush="#FF979AA2" BorderThickness="1,1,1,0" />
                                </Grid>
                                <Border x:Uid="DisabledVisualTopSelected" x:Name="DisabledVisualTopSelected" Background="#8CFFFFFF" IsHitTestVisible="false" Visibility="Collapsed" />
                            </Grid>
                            <Grid x:Uid="TemplateTopUnselected" x:Name="TemplateTopUnselected" Margin="0,2,0,1" >
                                <Grid x:Uid="Grid_36">
                                    <Border x:Uid="TopUnselected_Background" x:Name="TopUnselected_Background" BorderBrush="#FF94979F" BorderThickness="1,1,1,0">
                                        <Border.Background>
                                            <LinearGradientBrush x:Uid="LinearGradientBrush_62" EndPoint="0.5,1" StartPoint="0.5,0">
                                                <GradientStop x:Uid="GradientStop_183" Color="#FFFFFFFF" Offset="0"/>
                                                <GradientStop x:Uid="GradientStop_184" Color="#FFF3F3F3" Offset="0.152"/>
                                                <GradientStop x:Uid="GradientStop_185" Color="#FFF3F3F3" Offset="0.456"/>
                                                <GradientStop x:Uid="GradientStop_186" Color="#FFEBEBEB" Offset="0.465"/>
                                                <GradientStop x:Uid="GradientStop_187" Color="#FFD6D6D5" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Border.Background>
                                    </Border>
                                    <Border x:Uid="TopUnselectedOver" x:Name="TopUnselectedOver" Background="{StaticResource BtnOverFill}" BorderBrush="{StaticResource TabOverStroke}" BorderThickness="1,1,1,0" Opacity="0"/>
                                    <Border x:Uid="TopUnselected_Highlight" x:Name="TopUnselected_Highlight" Margin="1" BorderBrush="#FFFFFFFF" BorderThickness="1,1,1,0"/>
                                </Grid>
                                <Border x:Uid="DisabledVisualTopUnSelected" x:Name="DisabledVisualTopUnSelected" Background="#8CFFFFFF" IsHitTestVisible="false" Visibility="Collapsed"/>
                            </Grid>


                            <ContentPresenter x:Uid="ContentPresenter_9" HorizontalAlignment="Center" Margin="{TemplateBinding Padding}" x:Name="ContentSite" VerticalAlignment="Center" RecognizesAccessKey="True" ContentSource="Header" Opacity="1"/>

                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_91" Property="TabStripPlacement" Value="Left">
                                <Setter x:Uid="Setter_245" Property="LayoutTransform" TargetName="grid">
                                    <Setter.Value>
                                        <TransformGroup x:Uid="TransformGroup_26">
                                            <ScaleTransform x:Uid="ScaleTransform_22" ScaleX="1" ScaleY="1" />
                                            <SkewTransform x:Uid="SkewTransform_22" AngleX="0" AngleY="0" />
                                            <RotateTransform x:Uid="RotateTransform_25" Angle="-90" />
                                            <TranslateTransform x:Uid="TranslateTransform_21" X="0" Y="0" />
                                        </TransformGroup>
                                    </Setter.Value>
                                </Setter>
                            </Trigger>
                            <Trigger x:Uid="Trigger_92" Property="TabStripPlacement" Value="Right">
                                <Setter x:Uid="Setter_246" Property="LayoutTransform" TargetName="grid">
                                    <Setter.Value>
                                        <TransformGroup x:Uid="TransformGroup_27">
                                            <ScaleTransform x:Uid="ScaleTransform_23" ScaleX="1" ScaleY="1" />
                                            <SkewTransform x:Uid="SkewTransform_23" AngleX="0" AngleY="0" />
                                            <RotateTransform x:Uid="RotateTransform_26" Angle="90" />
                                            <TranslateTransform x:Uid="TranslateTransform_22" X="0" Y="0" />
                                        </TransformGroup>
                                    </Setter.Value>
                                </Setter>
                            </Trigger>
                            <Trigger x:Uid="Trigger_93" Property="TabStripPlacement" Value="Bottom">
                                <Setter x:Uid="Setter_247" Property="LayoutTransform" TargetName="ContentSite">
                                    <Setter.Value>
                                        <TransformGroup x:Uid="TransformGroup_28">
                                            <ScaleTransform x:Uid="ScaleTransform_24" ScaleX="1" ScaleY="1" />
                                            <SkewTransform x:Uid="SkewTransform_24" AngleX="0" AngleY="0" />
                                            <RotateTransform x:Uid="RotateTransform_27" Angle="180" />
                                            <TranslateTransform x:Uid="TranslateTransform_23" X="0" Y="0" />
                                        </TransformGroup>
                                    </Setter.Value>
                                </Setter>
                                <Setter x:Uid="Setter_248" Property="LayoutTransform" TargetName="grid">
                                    <Setter.Value>
                                        <TransformGroup x:Uid="TransformGroup_29">
                                            <ScaleTransform x:Uid="ScaleTransform_25" ScaleX="1" ScaleY="1"/>
                                            <SkewTransform x:Uid="SkewTransform_25" AngleX="0" AngleY="0"/>
                                            <RotateTransform x:Uid="RotateTransform_28" Angle="180"/>
                                            <TranslateTransform x:Uid="TranslateTransform_24" X="0" Y="0"/>
                                        </TransformGroup>
                                    </Setter.Value>
                                </Setter>
                            </Trigger>
                            <MultiTrigger x:Uid="MultiTrigger_6">
                                <MultiTrigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_80" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                                </MultiTrigger.ExitActions>
                                <MultiTrigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_81" Storyboard="{StaticResource HoverOn}" x:Name="HoverOn_BeginStoryboard"/>
                                </MultiTrigger.EnterActions>
                                <MultiTrigger.Conditions>
                                    <Condition x:Uid="Condition_11" Property="IsMouseOver" Value="True" />
                                    <Condition x:Uid="Condition_12" Property="Selector.IsSelected" Value="False" />
                                </MultiTrigger.Conditions>
                            </MultiTrigger>
                            <Trigger x:Uid="Trigger_94" Property="IsSelected" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_82" Storyboard="{StaticResource SelectedOff}" x:Name="SelectedOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_83" Storyboard="{StaticResource SelectedOn}"/>
                                </Trigger.EnterActions>
                                <Setter x:Uid="Setter_249" Property="Panel.ZIndex" Value="100" />

                            </Trigger>
                            <MultiTrigger x:Uid="MultiTrigger_7">
                                <MultiTrigger.Conditions>
                                    <Condition x:Uid="Condition_13" Property="IsMouseOver" Value="True" SourceName="grid" />
                                    <Condition x:Uid="Condition_14" Property="Selector.IsSelected" Value="True" />
                                </MultiTrigger.Conditions>
                            </MultiTrigger>
                            <Trigger x:Uid="Trigger_95" Property="IsEnabled" Value="False">
                                <Setter x:Uid="Setter_250" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}" />
                                <Setter x:Uid="Setter_251" Property="Visibility" TargetName="DisabledVisualTopUnSelected" Value="Visible"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
            <Setter x:Uid="Setter_252" Property="Foreground" Value="{DynamicResource OutsideFontColor}"/>
        </Style>

        <Style x:Uid="Style_32" x:Key="NuclearSliderThumb" d:IsControlPart="True" TargetType="{x:Type Thumb}">
            <Setter x:Uid="Setter_253" Property="SnapsToDevicePixels" Value="true"/>
            <Setter x:Uid="Setter_254" Property="Height" Value="21"/>
            <Setter x:Uid="Setter_255" Property="Width" Value="11"/>
            <Setter x:Uid="Setter_256" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_34" TargetType="{x:Type Thumb}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_98" x:Key="HoverOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_127" Duration="00:00:00.1000000" Storyboard.TargetName="Over" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_99" x:Key="HoverOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_128" Duration="00:00:00.4000000" Storyboard.TargetName="Over" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_100" x:Key="PressedOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_129" Duration="00:00:00.1000000" Storyboard.TargetName="Press" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_101" x:Key="PressedOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_130" Duration="00:00:00.4000000" Storyboard.TargetName="Press" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_102" x:Key="FocusedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_70" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_71" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_103" x:Key="FocusedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_71" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_72" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Grid x:Uid="Grid_37">
                            <Path x:Uid="Base" x:Name="Base" Stretch="Fill" Stroke="#FF707070" StrokeThickness="1" StrokeLineJoin="Round" Data="F1 M 0,1 C 0,0 1,0 1,0 L 7,0 C 7,0 7.750000,0 8,1 C 8.013672,1.054688 8,11.875000 8,11.875000 L 4.625000,15.250000 C 4.312500,15.583984 3.625000,15.250000 3.625000,15.250000 L 0,11.750000 C 0,11.750000 0,1.062500 0,1 Z">
                                <Path.Fill>
                                    <LinearGradientBrush x:Uid="LinearGradientBrush_63" EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop x:Uid="GradientStop_188" Color="#FFFFFFFF" Offset="0"/>
                                        <GradientStop x:Uid="GradientStop_189" Color="#FFF2F2F2" Offset="0.498"/>
                                        <GradientStop x:Uid="GradientStop_190" Color="#FFE1E1E1" Offset="0.498"/>
                                        <GradientStop x:Uid="GradientStop_191" Color="#FFF3F3F3" Offset="0.143"/>
                                        <GradientStop x:Uid="GradientStop_192" Color="#FFD1D1D1" Offset="1"/>
                                    </LinearGradientBrush>
                                </Path.Fill>
                            </Path>
                            <Path x:Uid="Path_1" x:Name="Over" Fill="{StaticResource ThumbOver}" Stroke="{StaticResource TextBoxPressBrush}" Stretch="Fill" Data="F1 M 0,1 C 0,0 1,0 1,0 L 7,0 C 7,0 7.750000,0 8,1 C 8.013672,1.054688 8,11.875000 8,11.875000 L 4.625000,15.250000 C 4.312500,15.583984 3.625000,15.250000 3.625000,15.250000 L 0,11.750000 C 0,11.750000 0,1.062500 0,1 Z" Opacity="0"/>
                            <Path x:Uid="Press" x:Name="Press" Fill="{StaticResource ThumbPress}" Stroke="{StaticResource btnPressStroke2}" Stretch="Fill" Data="F1 M 0,1 C 0,0 1,0 1,0 L 7,0 C 7,0 7.750000,0 8,1 C 8.013672,1.054688 8,11.875000 8,11.875000 L 4.625000,15.250000 C 4.312500,15.583984 3.625000,15.250000 3.625000,15.250000 L 0,11.750000 C 0,11.750000 0,1.062500 0,1 Z" Opacity="0"/>
                            <Path x:Uid="Path_2" x:Name="Highlight" Margin="1" Stroke="#FFFFFFFF" Stretch="Fill" Data="F1 M 0,1 C 0,0 1,0 1,0 L 7,0 C 7,0 7.750000,0 8,1 C 8.013672,1.054688 8,11.875000 8,11.875000 L 4.625000,15.250000 C 4.312500,15.583984 3.625000,15.250000 3.625000,15.250000 L 0,11.750000 C 0,11.750000 0,1.062500 0,1 Z"/>
                            <Path x:Uid="Path_3" x:Name="DisabledVisualElement" Fill="#FFFFFFFF" Stroke="#FFFFFFFF" StrokeThickness="1" StrokeLineJoin="Round" Stretch="Fill" Opacity="0.5" Data="F1 M 0,1 C 0,0 1,0 1,0 L 7,0 C 7,0 7.750000,0 8,1 C 8.013672,1.054688 8,11.875000 8,11.875000 L 4.625000,15.250000 C 4.312500,15.583984 3.625000,15.250000 3.625000,15.250000 L 0,11.750000 C 0,11.750000 0,1.062500 0,1 Z" IsHitTestVisible="false" Visibility="Collapsed" />
                            <Path x:Uid="Path_4" x:Name="FocusVisualElement" Margin="-1" Stroke="{StaticResource btnFocus}" StrokeThickness="1"  StrokeLineJoin="Round" Stretch="Fill" Data="F1 M 0.009766,1.453125 C 0.291016,0.093750 1.509766,0.000000 1.509766,0.000000 L 6.509766,0.000000 C 6.509766,0.000000 7.728516,0.000000 8.009766,1.500000 L 8.009766,11.500000 L 4.988770,15.200195 C 4.197266,15.854492 3.384766,15.166992 3.384766,15.166992 L 0.009766,11.500000 C 0.009766,11.500000 -0.012207,1.560059 0.009766,1.453125 Z" IsHitTestVisible="false" Opacity="0"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_96" Property="IsFocused" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_84" Storyboard="{StaticResource FocusedOff}" x:Name="FocusedOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_85" Storyboard="{StaticResource FocusedOn}" x:Name="FocusedOn_BeginStoryboard"/>
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_97" Property="IsMouseOver" Value="True">

                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_86" x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_87" Storyboard="{StaticResource HoverOn}"/>
                                </Trigger.EnterActions>

                            </Trigger>
                            <Trigger x:Uid="Trigger_98" Property="IsDragging" Value="True">
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_88" x:Name="PressedOn_BeginStoryboard" Storyboard="{StaticResource PressedOn}"/>
                                </Trigger.EnterActions>
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_89" x:Name="PressedOff_BeginStoryboard" Storyboard="{StaticResource PressedOff}"/>
                                </Trigger.ExitActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_99" Property="IsEnabled" Value="false">
                                <Setter x:Uid="Setter_257" Property="Visibility" TargetName="DisabledVisualElement" Value="Visible"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_33" TargetType="{x:Type Slider}">
            <Setter x:Uid="Setter_258" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_35" TargetType="{x:Type Slider}">
                        <Grid x:Uid="Grid_38" x:Name="GridRoot">
                            <Grid.RowDefinitions>
                                <RowDefinition x:Uid="RowDefinition_10" Height="Auto"/>
                                <RowDefinition x:Uid="RowDefinition_11" Height="Auto" MinHeight="{TemplateBinding MinHeight}"/>
                                <RowDefinition x:Uid="RowDefinition_12" Height="Auto"/>
                            </Grid.RowDefinitions>

                            <TickBar x:Uid="TopTick" Visibility="Collapsed" x:Name="TopTick" Height="4" SnapsToDevicePixels="True" Placement="Top" Fill="#FF405A78"/>
                            <Rectangle x:Uid="Rectangle_37" Margin="5.5,0,5.5,0" Grid.Column="0" Grid.ColumnSpan="3" Height="6" RadiusX="3" RadiusY="3">
                                <Rectangle.Fill>
                                    <LinearGradientBrush x:Uid="LinearGradientBrush_64" EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop x:Uid="GradientStop_193" Color="#FFB0B0B0" Offset="0.341"/>
                                        <GradientStop x:Uid="GradientStop_194" Color="#FFE7EAEA" Offset="0.346"/>
                                    </LinearGradientBrush>
                                </Rectangle.Fill>
                            </Rectangle>

                            <Track x:Uid="Track_1" x:Name="PART_Track">
                                <Track.Thumb>
                                    <Thumb x:Uid="Thumb_2" Style="{DynamicResource NuclearSliderThumb}"/>
                                </Track.Thumb>
                                <Track.IncreaseRepeatButton>
                                    <RepeatButton x:Uid="RepeatButton_1" Style="{DynamicResource NuclearScrollRepeatButtonStyle}" Command="Slider.IncreaseLarge"/>
                                </Track.IncreaseRepeatButton>
                                <Track.DecreaseRepeatButton>
                                    <RepeatButton x:Uid="RepeatButton_2" Style="{DynamicResource NuclearScrollRepeatButtonStyle}" Command="Slider.DecreaseLarge"/>
                                </Track.DecreaseRepeatButton>
                            </Track>

                            <TickBar x:Uid="BottomTick" Visibility="Collapsed" Grid.Row="2" x:Name="BottomTick" Height="4" SnapsToDevicePixels="True" Placement="Bottom" Fill="{TemplateBinding Foreground}"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_100" Property="TickPlacement" Value="TopLeft">
                                <Setter x:Uid="Setter_259" Property="Visibility" Value="Visible" TargetName="TopTick"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_101" Property="TickPlacement" Value="BottomRight">
                                <Setter x:Uid="Setter_260" Property="Visibility" Value="Visible" TargetName="BottomTick"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_102" Property="TickPlacement" Value="Both">
                                <Setter x:Uid="Setter_261" Property="Visibility" Value="Visible" TargetName="TopTick"/>
                                <Setter x:Uid="Setter_262" Property="Visibility" Value="Visible" TargetName="BottomTick"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_103" Property="IsEnabled" Value="false"/>

                            <Trigger x:Uid="Trigger_104" Property="Orientation" Value="Vertical">
                                <Setter x:Uid="Setter_263" Property="LayoutTransform" TargetName="GridRoot">
                                    <Setter.Value>
                                        <RotateTransform x:Uid="RotateTransform_29" Angle="-90"/>
                                    </Setter.Value>
                                </Setter>
                                <Setter x:Uid="Setter_264" TargetName="PART_Track" Property="Orientation" Value="Horizontal"/>
                            </Trigger>

                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_34" TargetType="{x:Type TreeView}">
            <Setter x:Uid="Setter_265" Property="Background" Value="#FFFFFFFF"/>
            <Setter x:Uid="Setter_266" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
            <Setter x:Uid="Setter_267" Property="HorizontalContentAlignment" Value="Left"/>
            <Setter x:Uid="Setter_268" Property="VerticalContentAlignment" Value="Top"/>
            <Setter x:Uid="Setter_269" Property="BorderBrush" Value="{StaticResource btnPressStroke2}"/>
            <Setter x:Uid="Setter_270" Property="BorderThickness" Value="1"/>
            <Setter x:Uid="Setter_271" Property="Padding" Value="4"/>
            <Setter x:Uid="Setter_272" Property="Cursor" Value="Arrow"/>
            <Setter x:Uid="Setter_273" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
            <Setter x:Uid="Setter_274" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_36" TargetType="{x:Type TreeView}">
                        <Grid x:Uid="Grid_39">
                            <Border x:Uid="Border_27" x:Name="Border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2">
                                <ScrollViewer   x:Uid="ScrollViewer_6" Focusable="False" Background="{TemplateBinding Background}" Padding="4" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" CanContentScroll="False">
                                    <ItemsPresenter x:Uid="ItemsPresenter_1"/>
                                </ScrollViewer>
                            </Border>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_35" x:Key="NuclearTreeViewItemToggleButton" d:IsControlPart="True" TargetType="{x:Type ToggleButton}">
            <Setter x:Uid="Setter_275" Property="Focusable" Value="False"/>
            <Setter x:Uid="Setter_276" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_37" TargetType="{x:Type ToggleButton}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_104" x:Key="HoverOn">
                                <ObjectAnimationUsingKeyFrames x:Uid="ObjectAnimationUsingKeyFrames_1" Storyboard.TargetName="CheckedVisual" Storyboard.TargetProperty="(Shape.Fill)">
                                    <DiscreteObjectKeyFrame x:Uid="DiscreteObjectKeyFrame_1" KeyTime="00:00:00.1000000" Value="{StaticResource treeviewArrowHover}"/>
                                </ObjectAnimationUsingKeyFrames>
                                <ObjectAnimationUsingKeyFrames x:Uid="ObjectAnimationUsingKeyFrames_2" Storyboard.TargetName="UncheckedVisual" Storyboard.TargetProperty="(Shape.Fill)">
                                    <DiscreteObjectKeyFrame x:Uid="DiscreteObjectKeyFrame_2" KeyTime="00:00:00.1000000" Value="{StaticResource treeviewArrowHover}"/>
                                </ObjectAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_105" x:Key="HoverOff">
                                <ObjectAnimationUsingKeyFrames x:Uid="ObjectAnimationUsingKeyFrames_3" Storyboard.TargetName="CheckedVisual" Storyboard.TargetProperty="(Shape.Fill)">
                                    <DiscreteObjectKeyFrame x:Uid="DiscreteObjectKeyFrame_3" KeyTime="00:00:00.4000000" Value="{StaticResource treeviewArrowChecked}"/>
                                </ObjectAnimationUsingKeyFrames>
                                <ObjectAnimationUsingKeyFrames x:Uid="ObjectAnimationUsingKeyFrames_4" Storyboard.TargetName="UncheckedVisual" Storyboard.TargetProperty="(Shape.Fill)">
                                    <DiscreteObjectKeyFrame x:Uid="DiscreteObjectKeyFrame_4" KeyTime="00:00:00.4000000" Value="{StaticResource treeviewArrowUnchecked}"/>
                                </ObjectAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_106" x:Key="CheckedOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_131" Duration="00:00:00.1000000" Storyboard.TargetName="UncheckedVisual" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_132" Duration="00:00:00.1000000" Storyboard.TargetName="CheckedVisual" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_107" x:Key="CheckedOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_133" Duration="00:00:00.4000000" Storyboard.TargetName="UncheckedVisual" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_134" Duration="00:00:00.4000000" Storyboard.TargetName="CheckedVisual" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Grid x:Uid="Grid_40" HorizontalAlignment="Right" Margin="2,2,5,2">
                            <Path x:Uid="UncheckedVisual" x:Name="UncheckedVisual" Height="9" Width="6" HorizontalAlignment="Right" VerticalAlignment="Center" Fill="{StaticResource treeviewArrowUnchecked}" StrokeLineJoin="Miter" Data="M 0,0 L 0,9 L 5,4.5 Z"/>
                            <Path x:Uid="CheckedVisual" x:Name="CheckedVisual" Height="6" Width="6" HorizontalAlignment="Right" VerticalAlignment="Center" Fill="{StaticResource treeviewArrowChecked}" StrokeLineJoin="Miter" Opacity="0" Data="M 6,0 L 6,6 L 0,6 Z"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_105" Property="IsMouseOver" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_90" Storyboard="{StaticResource HoverOff}" />
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_91" Storyboard="{StaticResource HoverOn}" />
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_106" Property="IsChecked" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_92" Storyboard="{StaticResource CheckedOff}" />
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_93" Storyboard="{StaticResource CheckedOn}" />
                                </Trigger.EnterActions>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_36" d:IsControlPart="True" TargetType="{x:Type TreeViewItem}">
            <Setter x:Uid="Setter_277" Property="Background" Value="Transparent"/>
            <Setter x:Uid="Setter_278" Property="HorizontalContentAlignment" Value="Left"/>
            <Setter x:Uid="Setter_279" Property="VerticalContentAlignment" Value="Top"/>
            <Setter x:Uid="Setter_280" Property="Padding" Value="5,3,15,3"/>
            <Setter x:Uid="Setter_281" Property="Cursor" Value="Arrow"/>
            <Setter x:Uid="Setter_282" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
            <Setter x:Uid="Setter_283" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_38" TargetType="{x:Type TreeViewItem}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_108" x:Key="SelectedOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_135" Duration="00:00:00.1000000" Storyboard.TargetName="select_gradient" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_136" Duration="00:00:00.1000000" Storyboard.TargetName="select_highlight" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_109" x:Key="SelectedOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_137" Duration="00:00:00.4000000" Storyboard.TargetName="select_gradient" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_138" Duration="00:00:00.4000000" Storyboard.TargetName="select_highlight" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_110" x:Key="HoverOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_72" BeginTime="00:00:00" Storyboard.TargetName="hover_gradient" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_73" KeyTime="00:00:00.1000000" Value="0.65"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_73" BeginTime="00:00:00" Storyboard.TargetName="highlight" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_74" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>

                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_111" x:Key="HoverOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_74" BeginTime="00:00:00" Storyboard.TargetName="hover_gradient" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_75" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_75" BeginTime="00:00:00" Storyboard.TargetName="highlight" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_76" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>

                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Grid x:Uid="Grid_41">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition x:Uid="ColumnDefinition_11" MinWidth="19" Width="Auto"/>
                                <ColumnDefinition x:Uid="ColumnDefinition_12" Width="Auto"/>
                                <ColumnDefinition x:Uid="ColumnDefinition_13" Width="*"/>
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition x:Uid="RowDefinition_13" Height="Auto"/>
                                <RowDefinition x:Uid="RowDefinition_14"/>
                            </Grid.RowDefinitions>
                            <ToggleButton x:Uid="Expander" x:Name="Expander" Style="{DynamicResource NuclearTreeViewItemToggleButton}" IsChecked="{Binding Path=IsExpanded, RelativeSource={RelativeSource TemplatedParent}}" ClickMode="Press"/>
                            <Rectangle x:Uid="select_gradient" x:Name="select_gradient" Grid.Column="1" Fill="{StaticResource BtnOverFill}" Stroke="{StaticResource selectedStroke}" StrokeThickness="1" RadiusX="2" RadiusY="2" Opacity="0" IsHitTestVisible="False"/>
                            <Rectangle x:Uid="select_highlight" x:Name="select_highlight" Margin="1" Grid.Column="1" Stroke="#A0FFFFFF" Opacity="0"/>
                            <Rectangle x:Uid="inactive" x:Name="inactive" Grid.Column="1" Fill="#FF999999" Stroke="#FF333333" StrokeThickness="1" RadiusX="2" RadiusY="2" Opacity="0" IsHitTestVisible="False"/>
                            <Rectangle x:Uid="hover_gradient" x:Name="hover_gradient" Grid.Column="1" Fill="{StaticResource hoverGradient}" Stroke="{StaticResource hoverStroke}" StrokeThickness="1" RadiusX="2" RadiusY="2" Opacity="0" IsHitTestVisible="False"/>
                            <Rectangle x:Uid="highlight" x:Name="highlight" Grid.Column="1" Margin="1" StrokeThickness="1" RadiusX="1" RadiusY="1" Opacity="0" IsHitTestVisible="False" Stroke="#FFFFFFFF"/>
                            <ContentPresenter x:Uid="PART_Header" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" x:Name="PART_Header" ContentSource="Header" Grid.Column="1" Margin="{TemplateBinding Padding}" />

                            <ItemsPresenter x:Uid="ItemsHost" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="1" x:Name="ItemsHost"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_107" Property="IsMouseOver" Value="true" SourceName="PART_Header" >
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_94" Storyboard="{StaticResource HoverOff}" />
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_95" Storyboard="{StaticResource HoverOn}" />
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_108" Property="IsExpanded" Value="false">
                                <Setter x:Uid="Setter_284" Property="Visibility" Value="Collapsed" TargetName="ItemsHost"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_109" Property="HasItems" Value="false">
                                <Setter x:Uid="Setter_285" Property="Visibility" Value="Hidden" TargetName="Expander"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_110" Property="IsSelected" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_96" Storyboard="{StaticResource SelectedOff}" />
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_97" Storyboard="{StaticResource SelectedOn}" />
                                </Trigger.EnterActions>

                            </Trigger>
                            <MultiTrigger x:Uid="MultiTrigger_8">
                                <MultiTrigger.Conditions>
                                    <Condition x:Uid="Condition_15" Property="IsSelected" Value="true"/>
                                    <Condition x:Uid="Condition_16" Property="IsSelectionActive" Value="false"/>
                                </MultiTrigger.Conditions>
                                <Setter x:Uid="Setter_286" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
                            </MultiTrigger>
                            <Trigger x:Uid="Trigger_111" Property="IsEnabled" Value="false">
                                <Setter x:Uid="Setter_287" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_37" x:Key="{x:Static ToolBar.ButtonStyleKey}" TargetType="{x:Type Button}" BasedOn="{x:Null}">
            <Setter x:Uid="Setter_288" Property="Foreground" Value="{StaticResource ButtonFontColor}"/>
							<Setter x:Uid="Setter_289" Property="FontSize" Value="10"/>
				<Setter x:Uid="Setter_290" Property="MinHeight" Value="18"/>
				<Setter x:Uid="Setter_291" Property="MinWidth" Value="50"/>
            <Setter x:Uid="Setter_292" Property="Padding" Value="3"/>
            <Setter x:Uid="Setter_293" Property="FocusVisualStyle" Value="{DynamicResource NuclearButtonFocusVisual}"/>
            <Setter x:Uid="Setter_294" Property="Template" Value="{DynamicResource ButtonTemplate}" />
        </Style>

        <Style x:Uid="Style_38" x:Key="{x:Static ToolBar.CheckBoxStyleKey}" TargetType="{x:Type CheckBox}">
				<Setter x:Uid="Setter_295" Property="FontSize" Value="10"/>
            <Setter x:Uid="Setter_296" Property="SnapsToDevicePixels" Value="true"/>
            <Setter x:Uid="Setter_297" Property="FocusVisualStyle" Value="{DynamicResource CheckBoxFocusVisual}"/>
            <Setter x:Uid="Setter_298" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
            <Setter x:Uid="Setter_299" Property="HorizontalContentAlignment" Value="Left"/>
            <Setter x:Uid="Setter_300" Property="VerticalContentAlignment" Value="Top"/>
            <Setter x:Uid="Setter_301" Property="Padding" Value="4,1,0,0"/>

            <Setter x:Uid="Setter_302" Property="Template" Value="{DynamicResource CheckBoxTemplate}" />
        </Style>

        <Style x:Uid="Style_39" x:Key="{x:Static ToolBar.RadioButtonStyleKey}" TargetType="{x:Type RadioButton}">
				<Setter x:Uid="Setter_303" Property="FontSize" Value="10"/>
            <Setter x:Uid="Setter_304" Property="SnapsToDevicePixels" Value="true"/>
            <Setter x:Uid="Setter_305" Property="FocusVisualStyle" Value="{DynamicResource RadioButtonFocusVisual}"/>
            <Setter x:Uid="Setter_306" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
            <Setter x:Uid="Setter_307" Property="HorizontalContentAlignment" Value="Left"/>
            <Setter x:Uid="Setter_308" Property="VerticalContentAlignment" Value="Top"/>
            <Setter x:Uid="Setter_309" Property="Padding" Value="4,1,0,0"/>
            <Setter x:Uid="Setter_310" Property="Template" Value="{DynamicResource RadioButtonTemplate}" />
        </Style>

        <Style x:Uid="Style_40" x:Key="{x:Static ToolBar.ComboBoxStyleKey}" TargetType="{x:Type ComboBox}">
				<Setter x:Uid="Setter_311" Property="FontSize" Value="10"/>
            <Setter x:Uid="Setter_312" Property="SnapsToDevicePixels" Value="true"/>
            <Setter x:Uid="Setter_313" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
            <Setter x:Uid="Setter_314" Property="Template" Value="{DynamicResource ComboBoxTemplate}" />
        </Style>

        <Style x:Uid="Style_41" x:Key="{x:Static ToolBar.TextBoxStyleKey}" TargetType="{x:Type TextBox}">
				<Setter x:Uid="Setter_315" Property="FontSize" Value="10"/>
            <Setter x:Uid="Setter_316" Property="KeyboardNavigation.TabNavigation" Value="None"/>
            <Setter x:Uid="Setter_317" Property="FocusVisualStyle" Value="{x:Null}"/>
            <Setter x:Uid="Setter_318" Property="AllowDrop" Value="true"/>
            <Setter x:Uid="Setter_319" Property="Background" Value="#FFFFFFFF"/>
            <Setter x:Uid="Setter_320" Property="HorizontalContentAlignment" Value="Stretch"/>
            <Setter x:Uid="Setter_321" Property="VerticalContentAlignment" Value="Stretch"/>
            <Setter x:Uid="Setter_322" Property="Padding" Value="4"/>
            <Setter x:Uid="Setter_323" Property="BorderThickness" Value="1"/>
            <Setter x:Uid="Setter_324" Property="Template" Value="{DynamicResource TextBoxTemplate}" />
        </Style>

        <LinearGradientBrush x:Uid="LinearGradientBrush_65" x:Key="ToolBarHorizontalBackground" EndPoint="0,1" StartPoint="0,0">
            <GradientStop x:Uid="GradientStop_195" Color="#FFFFFF" Offset="0"/>
            <GradientStop x:Uid="GradientStop_196" Color="#FFFBFF" Offset="0.5"/>
            <GradientStop x:Uid="GradientStop_197" Color="#F7F7F7" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Uid="LinearGradientBrush_66" x:Key="ToolBarToggleButtonHorizontalBackground" EndPoint="0,1" StartPoint="0,0">
            <GradientStop x:Uid="GradientStop_198" Color="#ECECEC" Offset="0"/>
            <GradientStop x:Uid="GradientStop_199" Color="#DDDDDD" Offset="0.5"/>
            <GradientStop x:Uid="GradientStop_200" Color="#A0A0A0" Offset="1"/>
        </LinearGradientBrush>
        <SolidColorBrush x:Uid="SolidColorBrush_32" x:Key="ToolBarButtonHover" Color="#FF818181" />
        <SolidColorBrush x:Uid="SolidColorBrush_33" x:Key="ToolBarGripper" Color="#C6C3C6"/>
        <Style x:Uid="Style_42" x:Key="ToolBarHorizontalOverflowButtonStyle" TargetType="{x:Type ToggleButton}">
            <Setter x:Uid="Setter_325" Property="Background" Value="{StaticResource ToolBarToggleButtonHorizontalBackground}"/>
            <Setter x:Uid="Setter_326" Property="MinHeight" Value="0"/>
            <Setter x:Uid="Setter_327" Property="MinWidth" Value="0"/>
            <Setter x:Uid="Setter_328" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_39" TargetType="{x:Type ToggleButton}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_112" x:Key="HoverOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_139" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundOver" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_140" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundOver_Highlight" Storyboard.TargetProperty="Opacity" To="0.65"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_113" x:Key="HoverOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_141" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundOver" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_142" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundOver_Highlight" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_114" x:Key="PressedOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_143" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundPressed" Storyboard.TargetProperty="Opacity" To="0.84"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_144" Duration="00:00:00.1000000" Storyboard.TargetName="BackgoundPressed_Highlight" Storyboard.TargetProperty="Opacity" To="0.65"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_115" x:Key="PressedOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_145" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundPressed" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_146" Duration="00:00:00.4000000" Storyboard.TargetName="BackgoundPressed_Highlight" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_116" x:Key="FocusedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_76" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_77" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_117" x:Key="FocusedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_77" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_78" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Border x:Uid="Bd" SnapsToDevicePixels="true" x:Name="Bd" CornerRadius="0,0,0,0" >
                            <Grid x:Uid="Grid_42">
                                <Border x:Uid="Border_28" x:Name="BackgroundNorm" Background="{StaticResource grayGradient}" BorderThickness="1" BorderBrush="#FF8E8F8F" CornerRadius="0,3,3,0"/>
                                <Border x:Uid="Border_29" x:Name="BackgroundNorm_highlight" Margin="1" BorderBrush="#F2FFFFFF" BorderThickness="1,0,1,1" CornerRadius="0,3,3,0" Opacity="0.65"/>
                                <Border x:Uid="Border_30" x:Name="BackgroundOver" Background="{StaticResource BtnOverFill}" BorderBrush="{StaticResource TextBoxPressBrush}" BorderThickness="1" CornerRadius="0,3,3,0" Opacity="0"/>
                                <Border x:Uid="Border_31" x:Name="BackgroundOver_Highlight" Margin="1" Background="{StaticResource btnOverFillHighlight}" BorderBrush="{StaticResource hoverStroke}" BorderThickness="1,0,1,1" CornerRadius="0,3,3,0" Opacity="0"/>
                                <Border x:Uid="Border_32" x:Name="BackgroundPressed" Background="{StaticResource BtnPressFill}" BorderBrush="{StaticResource btnPressBorder}" BorderThickness="1" CornerRadius="0,3,3,0" Opacity="0"/>
                                <Border x:Uid="Border_33" x:Name="BackgoundPressed_Highlight" Background="{StaticResource btnPressFillHighlight}" Margin="1" CornerRadius="0,3,3,0" Opacity="0"/>
                                <Border x:Uid="Border_34" x:Name="Background_overlay" Margin="1,1,1,0" BorderThickness="1" CornerRadius="0,3,3,0">
                                    <Border.Background>
                                        <LinearGradientBrush x:Uid="LinearGradientBrush_67" EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop x:Uid="GradientStop_201" Color="#00FFFFFF" Offset="0"/>
                                            <GradientStop x:Uid="GradientStop_202" Color="#72FFFFFF" Offset="0.157"/>
                                            <GradientStop x:Uid="GradientStop_203" Color="#72FFFFFF" Offset="0.5"/>
                                            <GradientStop x:Uid="GradientStop_204" Color="#00FFFFFF" Offset="0.51"/>
                                        </LinearGradientBrush>
                                    </Border.Background>
                                </Border>
                                <Canvas x:Uid="Canvas_1" SnapsToDevicePixels="true" HorizontalAlignment="Right" Margin="7,2,2,2" VerticalAlignment="Bottom" Width="6" Height="7">
                                    <Path x:Uid="Path_5" Stroke="White" Data="M 1 1.5 L 6 1.5"/>
                                    <Path x:Uid="Path_6" Stroke="{TemplateBinding Foreground}" Data="M 0 0.5 L 5 0.5"/>
                                    <Path x:Uid="Path_7" Fill="White" Data="M 0.5 4 L 6.5 4 L 3.5 7 Z"/>
                                    <Path x:Uid="Path_8" Fill="{TemplateBinding Foreground}" Data="M -0.5 3 L 5.5 3 L 2.5 6 Z"/>
                                </Canvas>
                                <Border x:Uid="Border_35" x:Name="FocusVisualElement" Margin="1" BorderBrush="{StaticResource btnFocus}" BorderThickness="1" CornerRadius="2" IsHitTestVisible="false" Opacity="0"/>
                                <Border x:Uid="Border_36" x:Name="DisabledVisualElement" Background="#FFF1F1F1" BorderBrush="#FFB2B2B2" BorderThickness="1" CornerRadius="3" IsHitTestVisible="false" Opacity="0" />
                            </Grid>
                        </Border>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_112" Property="IsKeyboardFocused" Value="true">

                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_98" x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_99" x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}"/>
                                </Trigger.EnterActions>

                            </Trigger>
                            <Trigger x:Uid="Trigger_113" Property="IsMouseOver" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_100" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_101" Storyboard="{StaticResource HoverOn}"/>
                                </Trigger.EnterActions>

                            </Trigger>
                            <Trigger x:Uid="Trigger_114" Property="IsPressed" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_102" Storyboard="{StaticResource PressedOff}" />
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_103" Storyboard="{StaticResource PressedOn}"/>
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_115" Property="IsEnabled" Value="true"/>
                            <Trigger x:Uid="Trigger_116" Property="IsEnabled" Value="false">
                                <Setter x:Uid="Setter_329" Property="Foreground" Value="{StaticResource ToolBarGripper}"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <SolidColorBrush x:Uid="SolidColorBrush_34" x:Key="ToolBarSubMenuBackground" Color="#FFFDFDFD"/>
        <SolidColorBrush x:Uid="SolidColorBrush_35" x:Key="ToolBarMenuBorder" Color="#FFFFFFFF"/>
        <Style x:Uid="Style_43" x:Key="ToolBarThumbStyle" TargetType="{x:Type Thumb}">
            <Setter x:Uid="Setter_330" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_40" TargetType="{x:Type Thumb}">
                        <Border x:Uid="Border_37" SnapsToDevicePixels="True" Background="Transparent" Padding="{TemplateBinding Padding}" CornerRadius="0,0,0,0">
                            <Rectangle x:Uid="Rectangle_38">
                                <Rectangle.Fill>
                                    <DrawingBrush x:Uid="DrawingBrush_1" TileMode="Tile" Viewbox="0,0,4,4" ViewboxUnits="Absolute" Viewport="0,0,4,4" ViewportUnits="Absolute">
                                        <DrawingBrush.Drawing>
                                            <DrawingGroup x:Uid="DrawingGroup_1">
                                                <GeometryDrawing x:Uid="GeometryDrawing_1" Brush="White" Geometry="M 1 1 L 1 3 L 3 3 L 3 1 z"/>
                                                <GeometryDrawing x:Uid="GeometryDrawing_2" Brush="{StaticResource ToolBarGripper}" Geometry="M 0 0 L 0 2 L 2 2 L 2 0 z"/>
                                            </DrawingGroup>
                                        </DrawingBrush.Drawing>
                                    </DrawingBrush>
                                </Rectangle.Fill>
                            </Rectangle>
                        </Border>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_117" Property="IsMouseOver" Value="true">
                                <Setter x:Uid="Setter_331" Property="Cursor" Value="SizeAll"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <LinearGradientBrush x:Uid="LinearGradientBrush_68" x:Key="ToolBarToggleButtonVerticalBackground" EndPoint="1,0" StartPoint="0,0">
            <GradientStop x:Uid="GradientStop_205" Color="#ECECEC" Offset="0"/>
            <GradientStop x:Uid="GradientStop_206" Color="#DDDDDD" Offset="0.5"/>
            <GradientStop x:Uid="GradientStop_207" Color="#A0A0A0" Offset="1"/>
        </LinearGradientBrush>
        <Style x:Uid="Style_44" x:Key="ToolBarVerticalOverflowButtonStyle" TargetType="{x:Type ToggleButton}">
            <Setter x:Uid="Setter_332" Property="Background" Value="{StaticResource ToolBarToggleButtonVerticalBackground}"/>
            <Setter x:Uid="Setter_333" Property="MinHeight" Value="0"/>
            <Setter x:Uid="Setter_334" Property="MinWidth" Value="0"/>
            <Setter x:Uid="Setter_335" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_41" TargetType="{x:Type ToggleButton}">
                        <Border x:Uid="Border_38" SnapsToDevicePixels="true" x:Name="Bd" Background="{TemplateBinding Background}" CornerRadius="0,0,3,3">
                            <Canvas x:Uid="Canvas_2" SnapsToDevicePixels="true" HorizontalAlignment="Right" Margin="2,7,2,2" VerticalAlignment="Bottom" Width="7" Height="6">
                                <Path x:Uid="Path_9" Stroke="White" Data="M 1.5 1 L 1.5 6"/>
                                <Path x:Uid="Path_10" Stroke="{TemplateBinding Foreground}" Data="M 0.5 0 L 0.5 5"/>
                                <Path x:Uid="Path_11" Fill="White" Data="M 3.5 0.5 L 7 3.5 L 4 6.5 Z"/>
                                <Path x:Uid="Path_12" Fill="{TemplateBinding Foreground}" Data="M 3 -0.5 L 6 2.5 L 3 5.5 Z"/>
                            </Canvas>
                        </Border>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_118" Property="IsMouseOver" Value="true">
                                <Setter x:Uid="Setter_336" Property="Background" TargetName="Bd" Value="{StaticResource ToolBarButtonHover}"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_119" Property="IsKeyboardFocused" Value="true">
                                <Setter x:Uid="Setter_337" Property="Background" TargetName="Bd" Value="{StaticResource ToolBarButtonHover}"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_120" Property="IsEnabled" Value="false">
                                <Setter x:Uid="Setter_338" Property="Foreground" Value="{StaticResource ToolBarGripper}"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <LinearGradientBrush x:Uid="LinearGradientBrush_69" x:Key="ToolBarVerticalBackground" EndPoint="1,0" StartPoint="0,0">
            <GradientStop x:Uid="GradientStop_208" Color="#FFFFFF" Offset="0"/>
            <GradientStop x:Uid="GradientStop_209" Color="#FFFBFF" Offset="0.5"/>
            <GradientStop x:Uid="GradientStop_210" Color="#F7F7F7" Offset="1"/>
        </LinearGradientBrush>
        <Style x:Uid="Style_45" TargetType="{x:Type ToolBar}">
            <Setter x:Uid="Setter_339" Property="Background" Value="{StaticResource ToolBarHorizontalBackground}"/>
            <Setter x:Uid="Setter_340" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_42" TargetType="{x:Type ToolBar}">
                        <Grid x:Uid="Grid_43" SnapsToDevicePixels="true" Margin="3,1,1,1" x:Name="Grid">
                            <Grid x:Uid="OverflowGrid" HorizontalAlignment="Right" x:Name="OverflowGrid" Margin="0,0,-3,0">
                                <ToggleButton x:Uid="OverflowButton" IsEnabled="{TemplateBinding HasOverflowItems}" FocusVisualStyle="{x:Null}" x:Name="OverflowButton" Style="{StaticResource ToolBarHorizontalOverflowButtonStyle}" ClickMode="Press" IsChecked="{Binding Path=IsOverflowOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"/>
                                <Popup x:Uid="OverflowPopup" Focusable="false" AllowsTransparency="true" IsOpen="{Binding Path=IsOverflowOpen, RelativeSource={RelativeSource TemplatedParent}}" Placement="Bottom" PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}" StaysOpen="False" x:Name="OverflowPopup">
                                    <Border x:Uid="Shdw" x:Name="Shdw" Background="#FFFFFFFF" BorderBrush="{StaticResource TextBoxNorm}" BorderThickness="1" CornerRadius="1,1,3,3">
                                        <Border x:Uid="Border_39" BorderThickness="1,1,1,1" >
                                            <ToolBarOverflowPanel x:Uid="PART_ToolBarOverflowPanel" Focusable="true" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" FocusVisualStyle="{x:Null}" Margin="2" x:Name="PART_ToolBarOverflowPanel" WrapWidth="200" KeyboardNavigation.DirectionalNavigation="Cycle" KeyboardNavigation.TabNavigation="Cycle"/>
                                        </Border>
                                    </Border>
                                </Popup>
                            </Grid>
                            <Border x:Uid="MainPanelBorder" Margin="0,0,11,0" x:Name="MainPanelBorder" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="0,0,0,0" Padding="{TemplateBinding Padding}" >
                                <Grid x:Uid="Grid_44">
                                    <Border x:Uid="Border_40" x:Name="BackgroundNorm" Background="{StaticResource grayGradient}" BorderThickness="1" BorderBrush="#FF8E8F8F"/>
                                    <DockPanel x:Uid="DockPanel_2" KeyboardNavigation.TabIndex="1" KeyboardNavigation.TabNavigation="Local">
                                        <Thumb x:Uid="ToolBarThumb" Padding="6,5,1,6" Margin="-3,-1,0,0" x:Name="ToolBarThumb" Style="{StaticResource ToolBarThumbStyle}" Width="10"/>
                                        <ContentPresenter x:Uid="ToolBarHeader" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" HorizontalAlignment="Center" Margin="4,0,4,0" x:Name="ToolBarHeader" VerticalAlignment="Center" ContentSource="Header"/>
                                        <Grid x:Uid="Grid_45">
                                            <Border x:Uid="BackgroundNorm1" x:Name="BackgroundNorm1" Background="{StaticResource grayGradient}" BorderThickness="0,1,0,1" BorderBrush="#FF8E8F8F"/>
                                            <ToolBarPanel x:Uid="PART_ToolBarPanel" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="0,1,2,2" x:Name="PART_ToolBarPanel" IsItemsHost="true" />
                                        </Grid>
                                    </DockPanel>
                                </Grid>
                            </Border>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_121" Property="IsOverflowOpen" Value="true">
                                <Setter x:Uid="Setter_341" Property="IsEnabled" TargetName="ToolBarThumb" Value="false"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_122" Property="Header" Value="{x:Null}">
                                <Setter x:Uid="Setter_342" Property="Visibility" TargetName="ToolBarHeader" Value="Collapsed"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_123" Property="ToolBarTray.IsLocked" Value="true">
                                <Setter x:Uid="Setter_343" Property="Visibility" TargetName="ToolBarThumb" Value="Collapsed"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_124" Property="HasDropShadow" SourceName="OverflowPopup" Value="true">
                                <Setter x:Uid="Setter_344" Property="Margin" TargetName="Shdw" Value="0,0,5,5"/>
                                <Setter x:Uid="Setter_345" Property="SnapsToDevicePixels" TargetName="Shdw" Value="true"/>
                                <Setter x:Uid="Setter_346" Property="Background" TargetName="Shdw" Value="#71000000"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_125" Property="Orientation" Value="Vertical">
                                <Setter x:Uid="Setter_347" Property="Margin" TargetName="Grid" Value="1,3,1,1"/>
                                <Setter x:Uid="Setter_348" Property="Style" TargetName="OverflowButton" Value="{StaticResource ToolBarVerticalOverflowButtonStyle}"/>
                                <Setter x:Uid="Setter_349" Property="Height" TargetName="ToolBarThumb" Value="10"/>
                                <Setter x:Uid="Setter_350" Property="Width" TargetName="ToolBarThumb" Value="Auto"/>
                                <Setter x:Uid="Setter_351" Property="Margin" TargetName="ToolBarThumb" Value="-1,-3,0,0"/>
                                <Setter x:Uid="Setter_352" Property="Padding" TargetName="ToolBarThumb" Value="5,6,6,1"/>
                                <Setter x:Uid="Setter_353" Property="Margin" TargetName="ToolBarHeader" Value="0,0,0,4"/>
                                <Setter x:Uid="Setter_354" Property="Margin" TargetName="PART_ToolBarPanel" Value="1,0,2,2"/>
                                <Setter x:Uid="Setter_355" Property="DockPanel.Dock" TargetName="ToolBarThumb" Value="Top"/>
                                <Setter x:Uid="Setter_356" Property="DockPanel.Dock" TargetName="ToolBarHeader" Value="Top"/>
                                <Setter x:Uid="Setter_357" Property="HorizontalAlignment" TargetName="OverflowGrid" Value="Stretch"/>
                                <Setter x:Uid="Setter_358" Property="VerticalAlignment" TargetName="OverflowGrid" Value="Bottom"/>
                                <Setter x:Uid="Setter_359" Property="Placement" TargetName="OverflowPopup" Value="Right"/>
                                <Setter x:Uid="Setter_360" Property="Margin" TargetName="MainPanelBorder" Value="0,0,0,11"/>
                                <Setter x:Uid="Setter_361" Property="Background" Value="{StaticResource ToolBarVerticalBackground}"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_126" Property="IsEnabled" Value="false">
                                <Setter x:Uid="Setter_362" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
            <Setter x:Uid="Setter_363" Property="Foreground" Value="#FF000000"/>
        </Style>

        <BorderGapMaskConverter x:Uid="BorderGapMaskConverter_1" x:Key="BorderGapMaskConverter" />
        <Style x:Uid="Style_46" TargetType="{x:Type GroupBox}">
            <Setter x:Uid="Setter_364" Property="BorderBrush" Value="#D5DFE5" />
            <Setter x:Uid="Setter_365" Property="BorderThickness" Value="1" />
            <Setter x:Uid="Setter_366" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
            <Setter x:Uid="Setter_367" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_43" TargetType="{x:Type GroupBox}">
                        <Grid x:Uid="Grid_46" SnapsToDevicePixels="true">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition x:Uid="ColumnDefinition_14" Width="6" />
                                <ColumnDefinition x:Uid="ColumnDefinition_15" Width="Auto" />
                                <ColumnDefinition x:Uid="ColumnDefinition_16" Width="*" />
                                <ColumnDefinition x:Uid="ColumnDefinition_17" Width="6" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition x:Uid="RowDefinition_15" Height="Auto" />
                                <RowDefinition x:Uid="RowDefinition_16" Height="Auto" />
                                <RowDefinition x:Uid="RowDefinition_17" Height="*" />
                                <RowDefinition x:Uid="RowDefinition_18" Height="6" />
                            </Grid.RowDefinitions>
                            <Border x:Uid="Border_41" Grid.ColumnSpan="4" Grid.Row="1" Grid.RowSpan="3" BorderThickness="1,1,1,1" CornerRadius="4" >
                                <Border.OpacityMask>
                                    <MultiBinding x:Uid="MultiBinding_1" Converter="{StaticResource BorderGapMaskConverter}" ConverterParameter="7">
                                        <Binding x:Uid="Binding_1" Path="ActualWidth" ElementName="Header" />
                                        <Binding x:Uid="Binding_2" Path="ActualWidth" RelativeSource="{RelativeSource Self}" />
                                        <Binding x:Uid="Binding_3" Path="ActualHeight" RelativeSource="{RelativeSource Self}" />
                                    </MultiBinding>
                                </Border.OpacityMask>
                            </Border>
                            <Border x:Uid="ContentBorder" Grid.Column="0" Grid.ColumnSpan="4" Grid.Row="1" Grid.RowSpan="3" Background="#FFFFFFFF" BorderBrush="{StaticResource TextBoxNorm}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" x:Name="ContentBorder" />
                            <!--<Border x:Name="DropDownBorder" Background="#FFFFFFFF" BorderBrush="{StaticResource TextBoxNorm}" BorderThickness="1" CornerRadius="1,1,3,3"/>-->
                            <Border x:Uid="Border_42" x:Name="BackgroundNorm" Background="{StaticResource grayGradient}" BorderThickness="1" BorderBrush="#FF8E8F8F" CornerRadius="3,3,0,0" Grid.ColumnSpan="4" Grid.RowSpan="2"/>

                            <Border x:Uid="Header" x:Name="Header" Grid.Column="1" Grid.Row="0" Grid.RowSpan="2" Padding="3,1,3,0">
                                <ContentPresenter x:Uid="ContentPresenter_10" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" ContentSource="Header" RecognizesAccessKey="True" Margin="0,4,0,4" />
                            </Border>

                            <ContentPresenter x:Uid="ContentPresenter_11" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="{TemplateBinding Padding}" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="2" />
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
            <Setter x:Uid="Setter_368" Property="Foreground" Value="{DynamicResource OutsideFontColor}"/>
        </Style>
        <Style x:Uid="Style_47" x:Key="{x:Static GridView.GridViewScrollViewerStyleKey}" TargetType="{x:Type ScrollViewer}">
            <Setter x:Uid="Setter_369" Property="Focusable" Value="false" />
            <Setter x:Uid="Setter_370" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_44" TargetType="{x:Type ScrollViewer}">
                        <Grid x:Uid="Grid_47" SnapsToDevicePixels="true" Background="{TemplateBinding Background}">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition x:Uid="ColumnDefinition_18" Width="*" />
                                <ColumnDefinition x:Uid="ColumnDefinition_19" Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition x:Uid="RowDefinition_19" Height="*" />
                                <RowDefinition x:Uid="RowDefinition_20" Height="Auto" />
                            </Grid.RowDefinitions>
                            <DockPanel x:Uid="DockPanel_3" Margin="{TemplateBinding Padding}">
                                <ScrollViewer x:Uid="ScrollViewer_7" Focusable="false" DockPanel.Dock="Top" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden">
                                    <GridViewHeaderRowPresenter x:Uid="GridViewHeaderRowPresenter_1" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="2,0,2,0" AllowsColumnReorder="{Binding Path=TemplatedParent.View.AllowsColumnReorder, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderContainerStyle="{Binding Path=TemplatedParent.View.ColumnHeaderContainerStyle, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderContextMenu="{Binding Path=TemplatedParent.View.ColumnHeaderContextMenu, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderTemplate="{Binding Path=TemplatedParent.View.ColumnHeaderTemplate, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderTemplateSelector="{Binding Path=TemplatedParent.View.ColumnHeaderTemplateSelector, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderToolTip="{Binding Path=TemplatedParent.View.ColumnHeaderToolTip, RelativeSource={RelativeSource TemplatedParent}}" Columns="{Binding Path=TemplatedParent.View.Columns, RelativeSource={RelativeSource TemplatedParent}}" />

                                </ScrollViewer>
                                <ScrollContentPresenter x:Uid="PART_ScrollContentPresenter" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" x:Name="PART_ScrollContentPresenter" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" CanContentScroll="{TemplateBinding CanContentScroll}" KeyboardNavigation.DirectionalNavigation="Local" />
                            </DockPanel>
                            <ScrollBar x:Uid="ScrollBar_1" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Cursor="Arrow" x:Name="PART_HorizontalScrollBar" Grid.Row="1" Orientation="Horizontal" ViewportSize="{TemplateBinding ViewportWidth}" Maximum="{TemplateBinding ScrollableWidth}" Minimum="0.0" Value="{Binding Path=HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" />
                            <ScrollBar x:Uid="ScrollBar_2" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Cursor="Arrow" x:Name="PART_VerticalScrollBar" Grid.Column="1" Orientation="Vertical" ViewportSize="{TemplateBinding ViewportHeight}" Maximum="{TemplateBinding ScrollableHeight}" Minimum="0.0" Value="{Binding Path=VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" />
                            <DockPanel x:Uid="DockPanel_4" Grid.Column="1" Grid.Row="1" Background="{Binding Path=Background, ElementName=PART_VerticalScrollBar}" LastChildFill="false">
                                <Rectangle x:Uid="Rectangle_39" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Width="1" Fill="White" DockPanel.Dock="Left" />
                                <Rectangle x:Uid="Rectangle_40" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Height="1" Fill="White" DockPanel.Dock="Top" />
                            </DockPanel>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Uid="Style_48" TargetType="{x:Type ListView}">
            <Setter x:Uid="Setter_371" Property="BorderThickness" Value="1" />
            <Setter x:Uid="Setter_372" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
            <Setter x:Uid="Setter_373" Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" />
            <Setter x:Uid="Setter_374" Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
            <Setter x:Uid="Setter_375" Property="ScrollViewer.CanContentScroll" Value="true" />
            <Setter x:Uid="Setter_376" Property="VerticalContentAlignment" Value="Center" />
            <Setter x:Uid="Setter_377" Property="HorizontalContentAlignment" Value="Stretch" />
            <Setter x:Uid="Setter_378" Property="VerticalContentAlignment" Value="Center" />
            <Setter x:Uid="Setter_379" Property="BorderBrush" Value="{StaticResource btnPressStroke2}"/>
            <Setter x:Uid="Setter_380" Property="BorderThickness" Value="1"/>
            <Setter x:Uid="Setter_381" Property="Padding" Value="1"/>
            <Setter x:Uid="Setter_382" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_45" TargetType="{x:Type ListView}">
                        <Border x:Uid="Border_43" BorderThickness="{TemplateBinding BorderThickness}" Background="#FFFFFFFF" BorderBrush="{TemplateBinding BorderBrush}" CornerRadius="2">

                            <ScrollViewer x:Uid="ScrollViewer_8" Padding="{TemplateBinding Padding}" Style="{DynamicResource {x:Static GridView.GridViewScrollViewerStyleKey}}">
                                <ItemsPresenter x:Uid="ItemsPresenter_2" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
                            </ScrollViewer>
                        </Border>

                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_127" Property="IsGrouping" Value="true">
                                <Setter x:Uid="Setter_383" Property="ScrollViewer.CanContentScroll" Value="false" />
                            </Trigger>
                            <Trigger x:Uid="Trigger_128" Property="IsEnabled" Value="false"/>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Uid="Style_49" x:Key="ListViewItemFocusVisual">
            <Setter x:Uid="Setter_384" Property="Control.Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_46">
                        <Rectangle x:Uid="Rectangle_41" Stroke="#8E6EA6F5" StrokeThickness="1" RadiusX="2" RadiusY="2" />
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_50" TargetType="{x:Type ListViewItem}">
            <Setter x:Uid="Setter_385" Property="FocusVisualStyle" Value="{StaticResource ListViewItemFocusVisual}" />
            <Setter x:Uid="Setter_386" Property="BorderThickness" Value="1" />
            <Setter x:Uid="Setter_387" Property="Margin" Value="0,0,0,1" />
            <Setter x:Uid="Setter_388" Property="Padding" Value="5,2,5,2" />
            <Setter x:Uid="Setter_389" Property="VerticalContentAlignment" Value="Center" />
            <Setter x:Uid="Setter_390" Property="HorizontalContentAlignment" Value="Stretch" />
            <Setter x:Uid="Setter_391" Property="VerticalContentAlignment" Value="Center" />
            <Setter x:Uid="Setter_392" Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
            <Setter x:Uid="Setter_393" Property="Padding" Value="3" />
            <Setter x:Uid="Setter_394" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_47" TargetType="{x:Type ListViewItem}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_118" x:Key="HoverOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_147" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundGradientOver" Storyboard.TargetProperty="Opacity" To="0.73"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_119" x:Key="HoverOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_148" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundGradientOver" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_120" x:Key="SelectedOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_149" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundGradientSelected" Storyboard.TargetProperty="Opacity" To="0.84"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_150" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundGradientSelectedDisabled" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_121" x:Key="SelectedOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_151" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundGradientSelected" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_152" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundGradientSelectedDisabled" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Border x:Uid="Border_44" SnapsToDevicePixels="true" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2" x:Name="border">

                            <Grid x:Uid="Grid_48" Margin="2,0,2,0">
                                <Rectangle x:Uid="Rectangle_42" x:Name="BackgroundGradientOver" Fill="{StaticResource hoverGradient}" Stroke="{StaticResource hoverStroke}" RadiusX="2" RadiusY="2" Opacity="0"/>
                                <Rectangle x:Uid="Rectangle_43" x:Name="BackgroundGradientSelectedDisabled" Fill="{StaticResource grayGradient}" Stroke="#7F8E8F8F" RadiusX="2" RadiusY="2" Opacity="0"/>
                                <Rectangle x:Uid="Rectangle_44" x:Name="BackgroundGradientSelected" Fill="{StaticResource BtnOverFill}" Stroke="{StaticResource selectedStroke}" RadiusX="2" RadiusY="2" Opacity="0"/>
                                <Rectangle x:Uid="Rectangle_45" x:Name="BackgroundHighlight" Margin="1" Stroke="#A0FFFFFF" RadiusX="1" RadiusY="1"/>
                                <GridViewRowPresenter x:Uid="GridViewRowPresenter_1" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="0,2,0,2" VerticalAlignment="Stretch" />
                            </Grid>

                        </Border>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_129" Property="IsMouseOver" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_104" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_105" Storyboard="{StaticResource HoverOn}"/>
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger x:Uid="Trigger_130" Property="IsSelected" Value="true">

                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_106" x:Name="SelectedOff_BeginStoryboard" Storyboard="{StaticResource SelectedOff}"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_107" x:Name="SelectedOn_BeginStoryboard" Storyboard="{StaticResource SelectedOn}"/>
                                </Trigger.EnterActions>

                            </Trigger>
                            <Trigger x:Uid="Trigger_131" Property="IsEnabled" Value="false">
                                <Setter x:Uid="Setter_395" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}" />
                                <Setter x:Uid="Setter_396" Property="Visibility" TargetName="BackgroundGradientSelected" Value="Hidden"/>
                            </Trigger>
                            <MultiTrigger x:Uid="MultiTrigger_9">
                                <MultiTrigger.Conditions>
                                    <Condition x:Uid="Condition_17" Property="IsSelected" Value="true" />
                                    <Condition x:Uid="Condition_18" Property="Selector.IsSelectionActive" Value="false" />
                                </MultiTrigger.Conditions>

                            </MultiTrigger>

                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>


        <Style x:Uid="Style_51" x:Key="GridViewColumnHeaderGripper" TargetType="{x:Type Thumb}">
            <Setter x:Uid="Setter_397" Property="Canvas.Right" Value="-8.5" />
            <Setter x:Uid="Setter_398" Property="Width" Value="18" />
            <Setter x:Uid="Setter_399" Property="Height" Value="{Binding Path=ActualHeight, RelativeSource={RelativeSource TemplatedParent}}" />
            <Setter x:Uid="Setter_400" Property="Padding" Value="0,3,0,4" />
            <Setter x:Uid="Setter_401" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_48" TargetType="{x:Type Thumb}">
                        <Border x:Uid="Border_45" Padding="{TemplateBinding Padding}" Background="#00FFFFFF">
                            <Rectangle x:Uid="Rectangle_46" HorizontalAlignment="Center" Width="0.5">
                                <Rectangle.Fill>
                                    <SolidColorBrush x:Uid="SolidColorBrush_36" Color="{DynamicResource WhiteColor}" />
                                </Rectangle.Fill>
                            </Rectangle>
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Uid="Style_52" x:Key="{x:Type GridViewColumnHeader}" TargetType="{x:Type GridViewColumnHeader}">
            <Setter x:Uid="Setter_402" Property="HorizontalContentAlignment" Value="Center" />
            <Setter x:Uid="Setter_403" Property="VerticalContentAlignment" Value="Center" />
            <Setter x:Uid="Setter_404" Property="Padding" Value="2,0,2,0" />
            <Setter x:Uid="Setter_405" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_49" TargetType="{x:Type GridViewColumnHeader}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_122" x:Key="HoverOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_153" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundOver" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_154" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundOver_Highlight" Storyboard.TargetProperty="Opacity" To="0.65"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_123" x:Key="HoverOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_155" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundOver" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_156" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundOver_Highlight" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_124" x:Key="PressedOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_157" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundPressed" Storyboard.TargetProperty="Opacity" To="0.84"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_158" Duration="00:00:00.1000000" Storyboard.TargetName="BackgoundPressed_Highlight" Storyboard.TargetProperty="Opacity" To="0.65"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_125" x:Key="PressedOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_159" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundPressed" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_160" Duration="00:00:00.4000000" Storyboard.TargetName="BackgoundPressed_Highlight" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Grid x:Uid="Grid_49" Margin="0,1,0,1">
                            <Grid x:Uid="Grid_50">
                                <Border x:Uid="Border_46" x:Name="BackgroundNorm" Background="{StaticResource grayGradient}" BorderThickness="1" BorderBrush="#FF8E8F8F"/>
                                <Border x:Uid="Border_47" x:Name="BackgroundNorm_highlight" Margin="1" BorderBrush="#F2FFFFFF" BorderThickness="1,0,1,1" Opacity="0.65"/>
                                <Border x:Uid="Border_48" x:Name="BackgroundOver" Background="{StaticResource BtnOverFill}" BorderBrush="{StaticResource TextBoxPressBrush}" BorderThickness="1" Opacity="0"/>
                                <Border x:Uid="Border_49" x:Name="BackgroundOver_Highlight" Margin="1" Background="{StaticResource btnOverFillHighlight}" BorderBrush="{StaticResource hoverStroke}" BorderThickness="1,0,1,1" Opacity="0"/>
                                <Border x:Uid="Border_50" x:Name="BackgroundPressed" Background="{StaticResource BtnPressFill}" BorderBrush="{StaticResource btnPressBorder}" BorderThickness="1" Opacity="0"/>
                                <Border x:Uid="Border_51" x:Name="BackgoundPressed_Highlight" Background="{StaticResource btnPressFillHighlight}" Margin="1" Opacity="0"/>
                                <Border x:Uid="Border_52" x:Name="Background_overlay" Margin="1,1,1,0" BorderThickness="1">
                                    <Border.Background>
                                        <LinearGradientBrush x:Uid="LinearGradientBrush_70" EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop x:Uid="GradientStop_211" Color="#00FFFFFF" Offset="0"/>
                                            <GradientStop x:Uid="GradientStop_212" Color="#72FFFFFF" Offset="0.157"/>
                                            <GradientStop x:Uid="GradientStop_213" Color="#72FFFFFF" Offset="0.5"/>
                                            <GradientStop x:Uid="GradientStop_214" Color="#00FFFFFF" Offset="0.51"/>
                                        </LinearGradientBrush>
                                    </Border.Background>
                                </Border>

                                <ContentPresenter x:Uid="ContentPresenter_12" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" RecognizesAccessKey="True" Margin="2,2,2,2" />
                                <Border x:Uid="Border_53" x:Name="DisabledVisualElement" Background="#FFF1F1F1" BorderBrush="#FFB2B2B2" BorderThickness="1" CornerRadius="3" IsHitTestVisible="false" Opacity="0"/>
                            </Grid>
                            <Canvas x:Uid="Canvas_3">
                                <Thumb x:Uid="PART_HeaderGripper" x:Name="PART_HeaderGripper" Style="{StaticResource GridViewColumnHeaderGripper}" HorizontalAlignment="Stretch" />
                            </Canvas>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_132" Property="IsMouseOver" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_108" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_109" Storyboard="{StaticResource HoverOn}"/>
                                </Trigger.EnterActions>
                                <Setter x:Uid="Setter_406" TargetName="PART_HeaderGripper" Property="Background" Value="Transparent" />
                            </Trigger>
                            <Trigger x:Uid="Trigger_133" Property="IsPressed" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_110" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_111" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                                </Trigger.EnterActions>
                                <Setter x:Uid="Setter_407" TargetName="PART_HeaderGripper" Property="Visibility" Value="Hidden" />
                                <Setter x:Uid="Setter_408" Property="Background" Value="SkyBlue" />
                            </Trigger>
                            <Trigger x:Uid="Trigger_134" Property="Height" Value="Auto">
                                <Setter x:Uid="Setter_409" Property="MinHeight" Value="20" />
                            </Trigger>
                            <Trigger x:Uid="Trigger_135" Property="IsEnabled" Value="false">
                                <Setter x:Uid="Setter_410" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
                                <Setter x:Uid="Setter_411" Property="Opacity" TargetName="DisabledVisualElement" Value="0.4"/>
                            </Trigger>
                            <Trigger x:Uid="Trigger_136" Property="Role" Value="Padding">
                                <Setter x:Uid="Setter_412" TargetName="PART_HeaderGripper" Property="Visibility" Value="Collapsed" />
                            </Trigger>
                            <Trigger x:Uid="Trigger_137" Property="Role" Value="Floating">
                                <Setter x:Uid="Setter_413" TargetName="PART_HeaderGripper" Property="Visibility" Value="Collapsed" />
                                <Setter x:Uid="Setter_414" Property="Background" Value="Yellow" />
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_53" TargetType="{x:Type ToggleButton}">
            <Setter x:Uid="Setter_415" Property="FocusVisualStyle" Value="{StaticResource NuclearButtonFocusVisual}" />
            <Setter x:Uid="Setter_416" Property="BorderThickness" Value="1" />
            <Setter x:Uid="Setter_417" Property="Foreground" Value="{DynamicResource OutsideFontColor}" />
            <Setter x:Uid="Setter_418" Property="HorizontalContentAlignment" Value="Center" />
            <Setter x:Uid="Setter_419" Property="VerticalContentAlignment" Value="Center" />
            <Setter x:Uid="Setter_420" Property="Padding" Value="1" />
            <Setter x:Uid="Setter_421" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_50" TargetType="{x:Type ToggleButton}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Uid="Storyboard_126" x:Key="HoverOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_161" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundOver" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_162" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundOver_Highlight" Storyboard.TargetProperty="Opacity" To="0.65"/>

                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_127" x:Key="HoverOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_163" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundOver" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_164" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundOver_Highlight" Storyboard.TargetProperty="Opacity" To="0"/>

                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_128" x:Key="CheckedOn">
                                <Storyboard x:Uid="Storyboard_129">
                                    <DoubleAnimation x:Uid="DoubleAnimation_165" Duration="00:00:00.1000000" Storyboard.TargetName="BackgroundChecked" Storyboard.TargetProperty="Opacity" To="1"/>
                                    <DoubleAnimation x:Uid="DoubleAnimation_166" Duration="00:00:00.1000000" Storyboard.TargetName="BackgoundChecked_Highlight" Storyboard.TargetProperty="Opacity" To="1"/>
                                </Storyboard>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_130" x:Key="CheckedOff">
                                <Storyboard x:Uid="Storyboard_131">
                                    <DoubleAnimation x:Uid="DoubleAnimation_167" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundChecked" Storyboard.TargetProperty="Opacity" To="0"/>
                                    <DoubleAnimation x:Uid="DoubleAnimation_168" Duration="00:00:00.4000000" Storyboard.TargetName="BackgoundChecked_Highlight" Storyboard.TargetProperty="Opacity" To="0"/>
                                </Storyboard>
                            </Storyboard>

                            <Storyboard x:Uid="Storyboard_132" x:Key="PressedOn">
                                <DoubleAnimation x:Uid="DoubleAnimation_169" Duration="0" Storyboard.TargetName="BackgroundPressed" Storyboard.TargetProperty="Opacity" To="1"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_170" Duration="0" Storyboard.TargetName="BackgoundPressed_Highlight" Storyboard.TargetProperty="Opacity" To="1"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_133" x:Key="PressedOff">
                                <DoubleAnimation x:Uid="DoubleAnimation_171" Duration="00:00:00.4000000" Storyboard.TargetName="BackgroundPressed" Storyboard.TargetProperty="Opacity" To="0"/>
                                <DoubleAnimation x:Uid="DoubleAnimation_172" Duration="00:00:00.4000000" Storyboard.TargetName="BackgoundPressed_Highlight" Storyboard.TargetProperty="Opacity" To="0"/>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_134" x:Key="FocusedOn">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_78" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_79" KeyTime="00:00:00.1000000" Value="1"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Uid="Storyboard_135" x:Key="FocusedOff">
                                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_79" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_80" KeyTime="00:00:00.3000000" Value="0"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>

                        </ControlTemplate.Resources>
                        <Grid x:Uid="grid1" x:Name="grid1" >
                            <Border x:Uid="Border_54" x:Name="BackgroundNorm" Background="{StaticResource grayGradient}" BorderThickness="1" BorderBrush="#FF8E8F8F" CornerRadius="3"/>
                            <Border x:Uid="Border_55" x:Name="BackgroundNorm_highlight" Margin="1" BorderBrush="#F2FFFFFF" BorderThickness="1,0,1,1" CornerRadius="3" Opacity="0.65"/>
                            <Border x:Uid="BackgroundChecked" x:Name="BackgroundChecked" Background="{StaticResource BtnPressFill}" BorderBrush="{StaticResource btnPressBorder}" BorderThickness="1" CornerRadius="3" Opacity="0"/>
                            <Border x:Uid="BackgoundChecked_Highlight" x:Name="BackgoundChecked_Highlight" Background="{StaticResource btnPressFillHighlight}" Margin="1" CornerRadius="2.5" Opacity="0"/>
                            <Border x:Uid="Border_56" x:Name="BackgroundOver" Background="{StaticResource BtnOverFill}" BorderBrush="{StaticResource TextBoxPressBrush}" BorderThickness="1" CornerRadius="3" Opacity="0"/>
                            <Border x:Uid="Border_57" x:Name="BackgroundOver_Highlight" Margin="1" Background="{StaticResource btnOverFillHighlight}" BorderBrush="{StaticResource hoverStroke}" BorderThickness="1,0,1,1" CornerRadius="3" Opacity="0"/>
                            <Border x:Uid="Border_58" x:Name="BackgroundPressed" Background="{StaticResource BtnPressFill}" BorderBrush="{StaticResource btnPressBorder}" BorderThickness="1" CornerRadius="3" Opacity="0"/>
                            <Border x:Uid="Border_59" x:Name="BackgoundPressed_Highlight" Background="{StaticResource btnPressFillHighlight}" Margin="1" CornerRadius="2.5" Opacity="0"/>
                            <Border x:Uid="Border_60" x:Name="Background_overlay" Margin="1,0,1,0" BorderThickness="1" CornerRadius="3,3,0,0">
                                <Border.Background>
                                    <LinearGradientBrush x:Uid="LinearGradientBrush_71" EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop x:Uid="GradientStop_215" Color="#00FFFFFF" Offset="0"/>
                                        <GradientStop x:Uid="GradientStop_216" Color="#72FFFFFF" Offset="0.157"/>
                                        <GradientStop x:Uid="GradientStop_217" Color="#72FFFFFF" Offset="0.5"/>
                                        <GradientStop x:Uid="GradientStop_218" Color="#00FFFFFF" Offset="0.51"/>
                                    </LinearGradientBrush>
                                </Border.Background>
                            </Border>
                            <Border x:Uid="Border_61" x:Name="DisabledVisualElement" Background="#FFF1F1F1" BorderBrush="#FFB2B2B2" BorderThickness="1" CornerRadius="3" IsHitTestVisible="false" Visibility="Collapsed"/>
                            <ContentPresenter
								x:Uid="ContentPresenter_13" x:Name="contentPresenter"
								Content="{TemplateBinding Content}"
								ContentTemplate="{TemplateBinding ContentTemplate}"
								VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
								HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
								Margin="{TemplateBinding Padding}"/>
                            <TextBlock x:Uid="TextBlock_1" Panel.ZIndex="1"
                            	x:Name="DisabledOverlay"
                            	Text="{TemplateBinding Content}"
                            	Foreground="#FF8E96A2"
                            	HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                            	VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
								Margin="{TemplateBinding Padding}"
                            	Visibility="Collapsed"/>
                            <Border x:Uid="Border_62" x:Name="FocusVisualElement" Margin="1" BorderBrush="{StaticResource btnFocus}" BorderThickness="1" CornerRadius="2" IsHitTestVisible="false" Visibility="Collapsed"/>
                        </Grid>

                        <ControlTemplate.Triggers>
                            <Trigger x:Uid="Trigger_138" Property="IsMouseOver" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_112" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_113" Storyboard="{StaticResource HoverOn}"/>
                                </Trigger.EnterActions>

                            </Trigger>
                            <Trigger x:Uid="Trigger_139" Property="IsPressed" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_114" Storyboard="{StaticResource PressedOff}" />
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_115" Storyboard="{StaticResource PressedOn}"/>
                                </Trigger.EnterActions>

                            </Trigger>
                            <Trigger x:Uid="Trigger_140" Property="IsKeyboardFocused" Value="true"/>
                            <Trigger x:Uid="Trigger_141" Property="IsChecked" Value="true">
                                <Trigger.ExitActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_116" Storyboard="{StaticResource CheckedOff}" />
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Uid="BeginStoryboard_117" Storyboard="{StaticResource CheckedOn}"/>
                                </Trigger.EnterActions>

                            </Trigger>
                            <Trigger x:Uid="Trigger_142" Property="IsEnabled" Value="false">
                                <Setter x:Uid="Setter_422" Property="Foreground" Value="#ADADAD" />
                                <Setter x:Uid="Setter_423" Property="Visibility" TargetName="DisabledVisualElement" Value="Visible"/>
                                <Setter x:Uid="Setter_424" Property="Visibility" TargetName="DisabledOverlay" Value="Visible"/>
                                <Setter x:Uid="Setter_425" Property="Visibility" TargetName="contentPresenter" Value="Collapsed"/>
                                <Setter x:Uid="Setter_426" Property="Opacity" TargetName="DisabledVisualElement" Value="1"/>


                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Uid="Style_54" TargetType="ToolTip">
            <Setter x:Uid="Setter_427" Property="Foreground" Value="#FF525552"/>
            <Setter x:Uid="Setter_428" Property="Padding" Value="3,0,3,0"/>
            <Setter x:Uid="Setter_429" Property="Template">
                <Setter.Value>
                    <ControlTemplate x:Uid="ControlTemplate_51" TargetType="ToolTip">
                        <Border x:Uid="Root" x:Name="Root">
                            <Border x:Uid="Border_63" BorderBrush="#FF737573" BorderThickness="1" CornerRadius="2" Padding="4">
                                <Border.Resources>
                                    <Storyboard x:Uid="Storyboard_136" x:Key="Visible State"/>
                                    <Storyboard x:Uid="Storyboard_137" x:Key="Normal State"/>
                                </Border.Resources>
                                <Border.Background>
                                    <LinearGradientBrush x:Uid="LinearGradientBrush_72" EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop x:Uid="GradientStop_219" Color="#FFFFFFFF" Offset="0"/>
                                        <GradientStop x:Uid="GradientStop_220" Color="#FFE7E7F7" Offset="1"/>
                                    </LinearGradientBrush>
                                </Border.Background>
                                <ContentPresenter
	                                x:Uid="ContentPresenter_14" Content="{TemplateBinding Content}"
	                                ContentTemplate="{TemplateBinding ContentTemplate}"
	                                Cursor="{TemplateBinding Cursor}"
	                                Margin="{TemplateBinding Padding}" />
                            </Border>
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

    </ResourceDictionary>
